Site logo

[Resolved] STICKY HEADER NOT FULL WIDTH

Home Forums Support [Resolved] STICKY HEADER NOT FULL WIDTH

Home Forums Support STICKY HEADER NOT FULL WIDTH

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1940353
    SEO

    Hi I am trying to replicate the same navigation of this website https://harmonyhealingnj.com/ if you try to scroll down you’ll notice that the sticky header is the same as the default header

    But on my website which is built using generate press when I tried to check the “use navigation as header” it is not in full width, can you help me replicate this kind of header I can’t edit it using CSS

    my website: https://rittune.wpengine.com/
    reference website: https://harmonyhealingnj.com/

    thanks

    #1940600
    David
    Staff
    Customer Support

    Hi there,

    go to Customizer > Layout > Primary Navigation and temporarily change its Location to Below Header.
    Then you can set the Container and Inner Container to Full Width. Once thats done, change the location back to float right.

    #1940789
    SEO

    if I do that the sticky logo would also be removed

    #1940833
    Ying
    Staff
    Customer Support

    No, the sticky logo won’t be removed.

    #1940844
    SEO

    Already applied but for some reason the sticky logo has been missing when scrolling down

    #1941014
    Leo
    Staff
    Customer Support

    With your current layout, add this CSS:

    .site-header {
        position: sticky;
        top: 0;
        z-index: 999;
    }

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

    Then you should be able to disable the sticky navigation option in the customizer.

    Let me know if this helps 🙂

    #1941019
    SEO

    Great this one would work

    #1942109
    Leo
    Staff
    Customer Support

    Awesome 🙂

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