[Resolved] Adjust space between mobile menu items

Home Forums Support [Resolved] Adjust space between mobile menu items

Home Forums Support Adjust space between mobile menu items

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #946464
    Shawn

    I want to reduce the space between items in the navigation menu when viewed on mobile. Currently, the space is 85px. I changed it to 45px using this:


    @media
    (max-width: 768px) {
    .menu-toggle, .main-navigation .mobile-bar-items a {
    line-height: 45px;
    }
    }

    This doesn’t work. I know I must have done something wrong. Please advise.

    Thanks.

    #946574
    Leo
    Staff
    Customer Support

    Hi there,

    Have you tried the menu item height option with the mobile toggle activated?
    https://docs.generatepress.com/article/menu-item-height-width/

    Let me know if this helps πŸ™‚

    #946929
    Shawn

    When I adjust menu item height, it reduces the size of the logo which I don’t want any smaller.

    #947119
    Leo
    Staff
    Customer Support
    #948182
    Shawn

    That did it, thanks Leo.

    #948199
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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