[Support request] Merge two menus from desktop to one in mobile

Home Forums Support [Support request] Merge two menus from desktop to one in mobile

Home Forums Support Merge two menus from desktop to one in mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #457745
    Aga

    My client wants to have two menus – one with the most important links in the header, and a side menu with all the rest. It works good with this theme, but after switching to mobile version the second one is under all the posts… But I do not want to have two menus one after each other, so… Is it possible to make wordpress add positions from side menu to the main menu only when menu is collapsed (I mean in “burger” state)? If so, I would love some instructions on how to do it ๐Ÿ™‚

    I use GP Premium

    #457970
    Leo
    Staff
    Customer Support

    Hi there,

    If I understand you correctly, you can make a new menu to combined them both and set it to slideout navigation:
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location
    https://docs.generatepress.com/article/activating-slide-out-navigation/

    This site is actually using the same idea as well.

    Let me know if this helps.

    #458627
    Aga

    Thanks, it works ๐Ÿ™‚ How can I hide second menu when the sideout is active?

    #458833
    Leo
    Staff
    Customer Support

    Like hide secondary navigation on mobile?

    If so try this:

    @media (max-width: 768px) {
        .secondary-navigation {
            display: none;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

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