_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:
parent
9fe1b0d8a8
commit
c7f2b7a1ee
3 changed files with 11 additions and 4 deletions
|
@ -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 );
|
Loading…
Add table
Add a link
Reference in a new issue