[Support request] Prevent Sticky Header from Shrinking on Scroll

Home Forums Support [Support request] Prevent Sticky Header from Shrinking on Scroll

Home Forums Support Prevent Sticky Header from Shrinking on Scroll

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #897040
    Steve

    Is there any way to prevent the sticky header from shrinking on scroll?

    I found a post where David was suggesting:
    remove the logo from the site identity.
    set the primary navigation to below header and align it right.
    and in the layout > header set the padding to zero.

    This actually works, but I can’t find any way to add the logo back other than using site identity.

    Thanks.

    #897068
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    It’s not really shrinking as of right now. You’re using the site header which is taller than the navigation, which is why you’re seeing the height difference.

    Instead of using the site header, you could use the navigation as the header: https://docs.generatepress.com/article/navigation-as-a-header/

    Let me know if you need more info ๐Ÿ™‚

    #897071
    Steve

    Ahh, OK I’ll give that a try.

    Thanks.

    #897080
    Tom
    Lead Developer
    Lead Developer

    No problem ๐Ÿ™‚

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