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
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 c91351c commit 60315e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 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 All @@ -25,11 +27,13 @@
'position': 'absolute'
} );
} else {
$( '.site-title a, .site-description' ).css( {
$( '.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 60315e2

Please sign in to comment.