[Resolved] Sticky Navigation will not shrink

Home Forums Support [Resolved] Sticky Navigation will not shrink

Home Forums Support Sticky Navigation will not shrink

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1550606
    Walter

    I have tried a lot but cannot solve the issue that the sticky navigation will not shrink.

    – Customizer -> primary navigation -> Menu Item Height = 100
    – Customizer -> sticky navigation -> Menu Item Height = 60

    Irrelevant if I add a Sticky Navigation Logo or not : The only thing that shrinks when I start scrolling is the Logo but not the navigation bar itself.

    When I keep both settings above the same e.g. on 60 it all works fine but I like the effect that the sticky header shrinks a little upon scrolling and the documentation mentions that this should be possible.

    (for completeness : On the home page only I have a header element to make the initial header transparant but I observe the same non-shrinking behavior on other pages where the header element is not active (e.g. the “blog” page).

    Please advise.

    regards, Walter

    #1550700
    Leo
    Staff
    Customer Support

    Hey Walter,

    That is currently a bug in the Flexbox version and we have it fixed in the next version of GP Premium already.

    I’m checking with Tom on the release date and will report back.

    Thanks πŸ™‚

    #1550737
    Leo
    Staff
    Customer Support

    Hey!

    We are not releasing the next version until next year.

    Try this CSS to fix it for now:

    .main-navigation.navigation-stick .menu-bar-item > a {
        line-height: 35px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1550819
    Walter

    Leo, thanks, and that works.

    regards, Walter

    #1550855
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    You can remove that CSS once the next version rolls out.

    #1551743
    Walter

    Leo, yes I will do that, thxs …. Walter

    #1553073
    Leo
    Staff
    Customer Support
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.