From e663b8d465fabda5fb776c7e2f8b43d1a8a1c4b4 Mon Sep 17 00:00:00 2001 From: Josh McCarty Date: Sun, 16 Oct 2016 10:17:47 -0700 Subject: [PATCH] Update .site-title styles instead of anchor in customizer script --- js/customizer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/customizer.js b/js/customizer.js index 4351a330..757367a2 100644 --- a/js/customizer.js +++ b/js/customizer.js @@ -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' } );