Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Setting for menu item height for sticky navigation mobile

  • Hi there,

    Is there a setting to control the menu item height for sticky navigation on mobile? I can’t seem to find it if there is.

    Thanks in advance.

    Charles

  • fernandoazarcon2

    Hi there,

    Increasing the Menu Item height in Appearance > Customize > Layout > Sticky Navigation should increase the height of the sticky nav correspondingly.

  • Hi,

    When I change the Sticky Navigation height, it changes it on desktop as well? My desktop and mobile menu heights are different.

    Charles

  • fernandoazarcon2

    I see. You can try adding this through Appearance > Customize > Additional CSS:

    nav#sticky-navigation.is_stuck {
        min-height: 120px;
    }

    Replace 120 with your preferred value.

  • Hi,

    I’ve set the above value to 55px which is the menu item height for mobile but it doesn’t seem to have changed anything.

    Charles

  • 1. Have you cleared cache?

    2. Is there any other CSS in the Additional CSS field? If so, can you try moving Fernando’s CSS to the top of the field to test?

    And if the CSS is only for mobile, I would recommend adding a media query like this to wrap Fernando’s CSS:

    @media(max-width:768px) {
     Fernando's CSS here
    }

    Let me know 🙂

  • Hi there,

    I’ve cleared the cache and tried testing with the above CSS but still no luck.

    Charles

  • fernandoazarcon2

    Hi Charles,

    For reference, can you share the link to the site in question?

  • Hi Fernando,

    No problem, the link is http://www.thesurebettor.com/blog/

    Charles

  • fernandoazarcon2

    Can you provide admin login credentials as well through the Private Information field? I’ll check what’s causing it not to work.

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