1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color.
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Toggle Button not working on 1 blog page

Discussion in 'Free Divi Community Forum' started by Selene Selby, May 21, 2024.

  1. Selene Selby

    Selene Selby New Member

    Hi,


    I'm having issues with this specific blog page https://houserewire.uk/how-much-does-it-cost-to-rewire-a-house/, the toggle button does not work/open when viewed on mobile, this only happens to this specific blog post. I would like to add that the header is created with custom CSS on Divi Theme Options.

    Please help me understand why it does not work???

    Thanks in advance.
     
    1. PRO MEMBER PERKS Divi Cart Count Plugin - Easily add cart count to your Divi cart icon. 6 different styles to choose from:Learn More
  2. Divi Booster

    Divi Booster Divi Expert

    Hi Selene,

    It looks like the drop-down menu itself is missing from the page. The dropdown menu is normally added by Divi using JavaScript (it makes a copy of the main menu to use as the mobile menu). However, the JavaScript file containing the necessary code is not being loaded in the page. It's normally always loaded by Divi, so I suspect something is actively disabling loading of the JavaScript file. Since I can see a reference in the page to the Asset Cleanup plugin, that would be the first place I'd look.

    Open Asset Cleanup on the affected page (WP Admin Bar > Asset Cleanup > Manage Current Page Assets) and look for a script with the following details:

    /wp-content/themes/Divi/js/scripts.min.js
    id="divi-custom-script-js"

    Ensure that this is enabled on the page.

    Hopefully that's the problem and once enabled the menu should start working again. But let us know if that doesn't seem to be the issue.
     
  3. Selene Selby

    Selene Selby New Member

    Hi Divi Expert,


    Thank you so much for your response, I had a look and I can see this on the specific post page. I'm not very advanced in coding but I believe it is enabled, however, the code looks different from what you suggested, could it be missing something?

    Thanks in advance.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi.Help Layout AI Generator - Try the power of AI to generate a custom Divi layout for you:Try Now