[Resolved] Reduce menu item spacing on mobile

Home Forums Support [Resolved] Reduce menu item spacing on mobile

Home Forums Support Reduce menu item spacing on mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #247079
    Lyle

    Hi Tom,

    I searched the forum for this subject and found this post:

    https://generatepress.com/forums/topic/change-menu-item-height-in-mobile

    You had posted this CSS:

    @media (max-width: 768px) {
        .main-navigation .main-nav ul li a {
            line-height: 60px;
        }
    }

    But no matter what I do, it does not want to work. I’m using Screenfly to test and am using the Apple 5 selection (portrait – 320 x 568). My real one looks the same too πŸ™ Any insights will be greatly appreciated πŸ™‚

    Cheers!
    Lyle

    #247163
    Tom
    Lead Developer
    Lead Developer

    That should do it as long as you’re applying it to the main/slideout navigation.

    Can you link me to the site where it’s not working?

    #247168
    Lyle

    Yep, it’s on the Sniffle Valve site …

    http://snifflevalve.com/

    #247169
    Tom
    Lead Developer
    Lead Developer

    I’m not seeing the CSS added using Chrome Dev Tools. Caches all cleared? No CSS syntax errors?

    #247170
    Lyle

    D’oh! πŸ™‚ Sorry to bother you Tom, it was a cache issue! πŸ™‚

    #247171
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

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