Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1280504

    Hey folks,
    I checked several toggle solutions (also the one under your docs, but got none of them to work out of the box.I think it has something to do with jQuery or the color section, because I get an easier toggle option (Div toggle – to work when using code block + jQuery directly from Google, even though the same jQuery 3.5.1 was already loaded with Enfold.

    Still, with the jQuery on board I can’t get it to work, nothing happens when I click the button.

    – newest Enfold
    – same result with deactivated cache plugin
    – jQuery migrated deactivated

    Any hints?

    • This topic was modified 3 years, 4 months ago by Ismael.

    Hey mc_wa,

    Could you post a link to where we can see the problem you are having?

    Best regards,


    Thanks for your reply, posted the link in privat area.



    Thanks for that. I’m seeing jQuery error messages coming from the file in private, what happens if you disable that plugin?

    Best regards,


    Hi Rikard,

    thanks for your reply. Disabling the plugin didn’t yield other results. Still no luck with toggling.



    Thank you for the update.

    Instead of using the window.load function, try to use the following instead.

       // code here

    It might not be working because window.load is already deprecated or invalid.

    Best regards,


    Thanks Ismael, this helped, but with the “easy code”, not the one from Enfold docs.

    » Add this to functions.php ofr your child theme:

        $('.avia-button-wrap.color-section-toggler a').click(function () {

    Ad this to custom CSS:

    .notseen {
    	display: none;

    Give the color section the ID: “#toggle-color-section”
    Give the button the class: “color-section-toggler”
    Gibe the button the link target: “javascript:void(0)” (so the page doesn’t reload)

    There was a code for changing button text as well out there on the forums, in case someone is interested.

    • This reply was modified 3 years, 4 months ago by mc_wa.


    Glad to know that it is working. And thank you for sharing the code.

    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Color Section Toggle not working’ is closed to new replies.