[Support request] sub menus on mobile navigation are missing

Home Forums Support [Support request] sub menus on mobile navigation are missing

Home Forums Support sub menus on mobile navigation are missing

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #631480
    Marc

    Hi,

    in desktop view, my sub menus appear when I hover on the main navigation. When I go to mobile view and click on the hamburger icon, the main navigation shows up but I can´t see the sub menus (even if I click on the main menus). Is it possible, that all the sub menus of all main navigation points are already folded out if I go to mobile view and click on the hamburger icon?

    Thanks! Marc

    #631677
    Leo
    Staff
    Customer Support
    #631777
    Marc

    Hi,

    I´d like to have the parent menu items in a different background color than the sub menu items (in the slideout navigation). Is this possible with this method (separate menu)?

    #631825
    Marc

    I think I found another way. I´ll create a separate mobile navigation bar with Elementor and hide the Generatepress bar on mobile. Can you give me a CSS for hiding the navigation bar on mobile?

    #631828
    Leo
    Staff
    Customer Support

    There should be a way using GP as well.

    The drop down arrows aren’t showing because you’ve added this CSS to hide it:

    .menu-item-has-children .dropdown-menu-toggle {
        display: none;
    }

    If you want to hide it on desktop, try using media query:

    @media (min-width: 769px) {
        .menu-item-has-children .dropdown-menu-toggle {
            display: none;
        }
    }

    More info here: https://docs.generatepress.com/article/responsive-display/

    #749922
    Michael

    I used the following to keep the indicators on mobile but not on desktop. This method doesn’t mess up the menu item width or padding.

    @media (min-width: 769px) {
        .menu-item-has-children .dropdown-menu-toggle:before	 {
            content: none;
        }
    }
    
    #750178
    Leo
    Staff
    Customer Support

    Looks good 🙂

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