Merge pull request #677 from mignonstyle/prototype_customizer

Reflect the change of color in the customizer.
This commit is contained in:
Tammie Lister 2015-09-16 20:57:34 +01:00
commit 79e0e54f69
1 changed files with 2 additions and 2 deletions

View File

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