forked from mirror/_s
Reflect the change of color in the customizer.
Fixed ".site-title" to ".site-title a".
This commit is contained in:
parent
6b2e7c8b44
commit
c482072932
|
@ -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'
|
||||||
|
|
Reference in New Issue