1. PROMO Subscribe our All Access Pass @ 75% OFF & 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

How To Collapse Other Divi Mobile Menu Submenus When Another One Is Opened

Discussion in 'Free Divi Community Forum' started by Althaf Muhammad, May 3, 2023.

  1. Althaf Muhammad

    Althaf Muhammad New Member

    Actually, I found this on YouTube


    But, from what I want to do is make it also clickable on text menu when you clicked it. From the tutorial, it is only the icon button that works but when I clicked the text menu, it collapse for the whole submenus. Can you please help to give solution about this?
     

    Attached Files:

    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Then you should look for other tutorial that does that. I believe this tutorial does what you want: https://www.elegantthemes.com/blog/...llapsing-nested-menu-with-divis-theme-builder
     
  3. Althaf Muhammad

    Althaf Muhammad New Member

    The result that I want is when the icon and text menu can be clicked and collapsed, as well as when I open a submenu and click another one, the previous submenu should be closed. The only problem I got from the YouTube video I posted was that the Text menu suddenly closed the whole menu (in the gif picture). My goal is to have the button and text menu have the same function. That's why I need the solution for that reason
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Beautify your Divi archive / category page with 15 different premade blog designs:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

  5. Althaf Muhammad

    Althaf Muhammad New Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    I believe that you should add the code on top of your previous code, instead of replacing it.