Hide Customizer panel with JS?
-
Hi there
I am trying to hide a customizer panel (site identity) using Javascript, is this possible?
I have a js file that is enqueued in the functions.php file and is currently running a function to hide sections in the customizer and that works.
But when I try to hide a panel, for example with:$( '#accordion-section-title_tagline' ).hide();it doesn’t work.
I wondered if anyone can suggest why this might be? I don’t know if there is some reason why this won’t work, or if it’s just going to be syntax somewhere in my implementation.
Thanks in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Hide Customizer panel with JS?’ is closed to new replies.