[Support request] How can I add padding to my navigation bar

Home Forums Support [Support request] How can I add padding to my navigation bar

Home Forums Support How can I add padding to my navigation bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #610598
    Jonny

    Hi,

    How can I add padding to my nav bar (both static and sticky) so that both the image and menu are positioned centrally (vertically). It is clear that they are NOT when scrolling down revealing the sticky menu.

    Thank you for your help.

    Cheers,

    GeneratePress 2.1.2
    GP Premium 1.6.2
    #610854
    Leo
    Staff
    Customer Support

    Hi there,

    I believe this method should work better for what you are trying to achieve:
    https://docs.generatepress.com/article/navigation-logo/#navigation-as-header

    Let me know 🙂

    #612350
    Jonny

    This has helped a little thanks.

    However when I increase the height of the sticky menu, it doesn’t appear? Is this a glitch?

    Why does the sticky menu not appear now?

    Cheers,

    #612378
    Leo
    Staff
    Customer Support

    The sticky navigation isn’t showing on the home page because there isn’t enough content so the page isn’t long enough for the page to show.

    You can see the sticky navigation showing correctly on the Booking page.

    Might also want to remove this CSS you’ve added:

    .main-navigation .navigation-logo img {
        height: 75px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.