Merge pull request #1034 from joshmcrty/master

Update .site-title styles instead of anchor in customizer script.

Closes #990
This commit is contained in:
David A. Kennedy 2017-06-09 15:00:38 -04:00 committed by GitHub
commit cc7ca98ab4
1 changed files with 2 additions and 2 deletions

View File

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