Reflect the change of color in the customizer.

Fixed ".site-title" to ".site-title a".
This commit is contained in:
Mignon Style 2015-01-09 17:09:22 +09:00
parent 6b2e7c8b44
commit c482072932
1 changed files with 2 additions and 2 deletions

View File

@ -20,12 +20,12 @@
wp.customize( 'header_textcolor', function( value ) { wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) { value.bind( function( to ) {
if ( 'blank' === to ) { if ( 'blank' === to ) {
$( '.site-title, .site-description' ).css( { $( '.site-title a, .site-description' ).css( {
'clip': 'rect(1px, 1px, 1px, 1px)', 'clip': 'rect(1px, 1px, 1px, 1px)',
'position': 'absolute' 'position': 'absolute'
} ); } );
} else { } else {
$( '.site-title, .site-description' ).css( { $( '.site-title a, .site-description' ).css( {
'clip': 'auto', 'clip': 'auto',
'color': to, 'color': to,
'position': 'relative' 'position': 'relative'