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. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

3 level deep clickable menu

Discussion in 'Free Divi Community Forum' started by John Waluthon, May 4, 2021.

  1. John Waluthon

    John Waluthon New Member

    Hello everyone. I'm now working on a website which currently has parent menu item and its children. Which means, the current submenu has submenu level 2. My question would be, is it possible to have 3 level deep clickable submenu on DIVI theme? Which means, my top menu has submenus and one of its submenus has another submenus. As I've seen on the internet, it is indeed possible to have 3 level deep submenu on DIVI, but only when the parent menu item and its children are hovered. My submenus are now clickable, so as I assume it won't work so easily as expected. I would really appreciate the feedback from this community. Thank you! :)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade testimonial carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You will need to further customize your jQuery code & it won't be an easy task.

    But here's a workaround to make the third level menu to show on hover. Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. John Waluthon

    John Waluthon New Member

    As I mentioned before, I have many 7 clickable parent item menus and each of these menus has dropdown submenu. Inside one of these dropdown submenus, only one menu (one li) that has another submenu (3 level deep submenu). So, it would not be ideal to implement mega menu for this issue (as I did some research for the solution to this problem, the common one is to implement mega menu). Until now, this is the jquery codes I came up with:

    Code:
    Log In or Sign Up to view this code.
    With these codes: user could click the a parent menu item and the relevant dropdown menu will be shown. But, when I want to click that one submenu inside that relevant menu, it won't be shown, despite these submenus have the same class. As for the CSS code:

    Code:
    Log In or Sign Up to view this code.
    Every submenus are now clickable except that one submenu which has 3 level deep down submenu. I hope the codes above could give you a little bit of an overview on how my website works. Looking forward for the feedback!
     
    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

    Yup I know. But it's not easy to modify it to fit 3 level menus.

    As mentioned previously, the easiest workaround is to make the 3rd level menu to show on hover, not on click:
    Code:
    Log In or Sign Up to view this code.
     
  5. Divi.Help

    Divi.Help Administrator
    Staff Member

    By the way, I found this tutorial: https://www.peeayecreative.com/how-to-open-a-divi-menu-submenu-by-clicking-instead-of-just-hovering/
     
    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
  6. John Waluthon

    John Waluthon New Member

    The tutorial you sent from peeayecreative looks promising, but as I implemented it, it still hasn't worked (despite these submenus have the same class name). I also forgot to mention that the submenu which has the 3rd level submenu has also its own website page. Which means, the best solution would be when the user hover this submenu, it will show the 3rd level submenu, but when the user clicks this submenu, it will redirect the user to the relevant website. With this issue, I'll try to implement your approach with hover functionality. I'll let you know if I still stuck with it. Thanks so much for all the feedback!
     
  7. John Waluthon

    John Waluthon New Member

    So I tried your code with hover functionality. Apparently it doesn't work because I already applied this clickable menu function (in jQuery) for all of the submenu, despite what parent menu item name I defined to show this 3rd level submenu. So I choose to not implement 3 level deep clickable menu. Hopefully there are people who have the same issue and share the solution to this community.
     
    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now