[Resolved] Split Menu not Displaying Well on Mobile

Home Forums Support [Resolved] Split Menu not Displaying Well on Mobile

Home Forums Support Split Menu not Displaying Well on Mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1280421
    Joe

    Hello,

    I used this method to make a split menu with logo in the middle: https://docs.generatepress.com/article/centering-logo-navigation/

    It works great on desktop, but on mobile when the hamburger menu is opened it overlaps behind the logo.

    Please could you advise either:

    How to put the hamburger menu below the logo on mobile, in a way that works with the split menu,

    or

    How to make the Logo and other elements move down to make space for the opening hamburger menu on mobile,

    or

    How to make the Logo on mobile align with the Menu Separator space when the hamburger menu is opened.

    Whichever is easiest!

    Thanks!

    #1281271
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Does this help?:

    @media (max-width: 768px) {
        .site-branding, .site-logo {
            position: unset;
            left: unset;
            transform: unset;
        }
    
        .site-logo img {
            max-width: 200px;
        }
    
        .main-navigation.toggled li.menu-item-separator {
            display: none !important;
        }
    }

    Let me know πŸ™‚

    #1282699
    Joe

    Hello,

    Great, yes, thanks β€” with a little tweak that works well.

    #1282797
    Tom
    Lead Developer
    Lead Developer

    Glad I could help πŸ™‚

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