Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit f9edb34

Browse files
author
claudiuvertistudio
committed
!!! Custom logo customizer issue
1 parent 90d43ce commit f9edb34

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

js/customizer.js

+1-16
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
// Hide Site Title
4545
wp.customize( 'zillah_tagline_show', function( value ) {
4646
value.bind( function( to ) {
47-
if( to !== '' ) {
47+
if( to !== false ) {
4848
$( '.header-title-wrap' ).addClass( 'zillah-only-customizer' );
4949
}
5050
else {
@@ -53,21 +53,6 @@
5353
} );
5454
} );
5555

56-
57-
// Logo
58-
wp.customize( 'custom_logo', function( value ) {
59-
value.bind( function( to ) {
60-
if( to !== '' ) {
61-
$( '.custom-logo-link' ).removeClass( 'zillah-only-customizer' );
62-
$( '.header-title-wrap' ).addClass( 'zillah-only-customizer' );
63-
}
64-
else {
65-
$( '.custom-logo-link' ).addClass( 'zillah-only-customizer' );
66-
$( '.header-title-wrap' ).removeClass( 'zillah-only-customizer' );
67-
}
68-
} );
69-
} );
70-
7156
// Slider
7257
wp.customize( 'zillah_home_slider_show', function( value ) {
7358
value.bind( function( to ) {

0 commit comments

Comments
 (0)