[Resolved] Submenu not working!!

Home Forums Support [Resolved] Submenu not working!!

Home Forums Support Submenu not working!!

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1428853
    Mohamed

    The submenu not displayed !!
    2-How can I create a mega menu with GP?
    3-Can I display the 1st level of submenu on mobile by default?

    #1429042
    David
    Staff
    Customer Support

    Hi there,

    this article explains how to add a CSS created Simple Mega Menu:

    https://docs.generatepress.com/article/building-simple-mega-menu/

    Once you have that set up i can look at the the CSS required to keep the submenu open on mobile.

    #1430005
    Mohamed

    Thanks David,
    I did it but the main thing is fixing the sub menu that not shown on mobile devices?
    then think in the second thing ” keep the submenu open on mobile.”

    #1430061
    Leo
    Staff
    Customer Support

    Let’s try to solve one thing at the time.

    I can see the submenu when using the mobile simulator from Chrome.

    Is that not what you are seeing?

    #1430074
    Mohamed

    Hello Leo,
    Please click on the Sub of sub menu it’s not shown !!!!
    could you remove the url in your reply ?

    #1430395
    David
    Staff
    Customer Support

    Try adding this CSS:

    #generate-slideout-menu.main-navigation .main-nav ul ul {
        right: 0;
    }
    #1430567
    Mohamed

    Thanks, It’s working now.
    1- How can I display the submenu or sub of submenu by default?

    #1431017
    Leo
    Staff
    Customer Support

    Give this a shot:

    #generate-slideout-menu.main-navigation ul li ul {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        height: auto;
        overflow: visible;
    }
    #1431514
    Mohamed

    Thanks

    #1432296
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.