Skip to content

Commit

Permalink
Fix for open issue Automattic#768 (Site title color in the Customizer)
Browse files Browse the repository at this point in the history
This fixes the header text color link (blogname) to also update the same way as the blogdescription

Fix for open issue Automattic#768 (Site title color in the Customizer)

Fixed the missing Blog title text when "Display Header Text "option in the Customizer is toggled on/off

Updated the code to adjust the css color of .site-title a

Fix for the header color issue Automattic#816
  • Loading branch information
cralberto11 committed Nov 12, 2015
1 parent e771182 commit f2722f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/customizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/**
* customizer.js
*
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
Expand Down Expand Up @@ -27,9 +29,11 @@
} else {
$( '.site-title, .site-description' ).css( {
'clip': 'auto',
'color': to,
'position': 'relative'
} );
$( '.site-title a, .site-description' ).css( {
'color': to
} );
}
} );
} );
Expand Down

0 comments on commit f2722f9

Please sign in to comment.