forked from mirror/_s
Fix for open issue #768 (Site title color in the Customizer)
This fixes the header text color link (blogname) to also update the same way as the blogdescription Fix for open issue #768 (Site title color in the Customizer) 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 #816
This commit is contained in:
parent
e771182347
commit
f2722f9b3f
|
@ -1,4 +1,6 @@
|
||||||
/**
|
/**
|
||||||
|
* customizer.js
|
||||||
|
*
|
||||||
* Theme Customizer enhancements for a better user experience.
|
* Theme Customizer enhancements for a better user experience.
|
||||||
*
|
*
|
||||||
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
|
||||||
|
@ -27,9 +29,11 @@
|
||||||
} else {
|
} else {
|
||||||
$( '.site-title, .site-description' ).css( {
|
$( '.site-title, .site-description' ).css( {
|
||||||
'clip': 'auto',
|
'clip': 'auto',
|
||||||
'color': to,
|
|
||||||
'position': 'relative'
|
'position': 'relative'
|
||||||
} );
|
} );
|
||||||
|
$( '.site-title a, .site-description' ).css( {
|
||||||
|
'color': to
|
||||||
|
} );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
} );
|
} );
|
||||||
|
|
Reference in New Issue