1. CYBER MONDAY SALE All Access Pass @ $59 / Lifetime & access all our 16+ premium Divi extensions: Divi Block Pro, 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. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Collapse submenu items in the mobile menu

Discussion in 'Free Divi Community Forum' started by Jointly, Nov 1, 2019.

  1. Luciano

    Luciano New Member

    I solved it, it was simply the fault of a conflicting plugin
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  2. Lizz

    Lizz New Member

    Hi there!
    Thanks for providing this code! It worked beautifully.
    But since a few updates I have unfortunately the problem that I can no longer scroll within the dropdown. The web page under the menu scrolls. The menu remains standing.
    The header is built with the Divi Theme Builder and we use Divi version: 4.19.2 and Wordpress version: 6.1.1.
    Thanks in advance
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly share your URL.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade promo bar / notification bar with close button for your Divi site without using any plugins:View Demo
  4. Lizz

    Lizz New Member

    For example it's https://thales-datenschutz.de/ .. but there are some more websites with the same problem.
     
  5. Divi.Help

    Divi.Help Administrator
    Staff Member

    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  6. Lizz

    Lizz New Member

    Awesome! Thank you :)
     
  7. Knightfal

    Knightfal New Member

    Hi

    I have used the code and it works. I have one small issue.

    On the front page the dropdown menu works great.
    On my sub pages on mobile it shows full expanded, not collapsed as on the front page.

    Any suggestion?

    Working:
    working.jpg

    Issue:
    issue.jpg

     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  8. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  9. Knightfal

    Knightfal New Member

    Awesome, that worked.
    Only issue now is that on the main page is shows L instead of a + to expand the menu on the frontpage.
    Sub pages works.

     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  10. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try to disable Dynamic Icon at WP Admin > Divi > Theme Options > General > Performance & see if it works.
     
  11. Knightfal

    Knightfal New Member

    That worked. Thanks

     
    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Tons of elegant premade sidebar styles to choose from for your Divi site:Learn More