_s: Enable live preview for Header Text Color in Customizer. Change also

removes an !important declaration in Custom Header CSS rules.
This commit is contained in:
obenland 2013-03-04 16:13:56 -08:00
parent 9fe1b0d8a8
commit c7f2b7a1ee
3 changed files with 11 additions and 4 deletions

View file

@ -16,4 +16,10 @@
$( '.site-description' ).text( to );
} );
} );
// Header text color.
wp.customize( 'header_textcolor', function( value ) {
value.bind( function( to ) {
$( '.site-title a, .site-description' ).css( 'color', to );
} );
} );
} )( jQuery );