[Resolved] How to unstick Header when WP/Dashboard Sticky Header is already off?

Home Forums Support [Resolved] How to unstick Header when WP/Dashboard Sticky Header is already off?

Home Forums Support How to unstick Header when WP/Dashboard Sticky Header is already off?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #976232
    Mark

    Hi guys,

    Not sure if this is a WP question or if this has something to do with GP…

    Just wondering how I make the header scroll up on the page shown ie the header does not stick as it currently does? I want it to act like this one below:
    https://snap36.com/360-gallery/alternator/

    I have looked at the Header in WP/Appearance/Customise/Header and ‘Sticky’ is ‘OFF’. Is there anywhere else I can turn the sticky feature off on desktop?

    Also, is it possible just to make this header on this particular page scroll, or does this need to be applied site-wide?

    As always, any help greatly appreciated.

    Thanks, Mark

    #976238
    David
    Staff
    Customer Support

    Hi there,

    go to Appearance > Layout > Sticky Navigation and disable it there.
    The option in Appearance > Layout > Header is only applicable to the Mobile Header option.

    You can use the Menu Options filter to conditionally change the menu options including sticky:

    https://docs.generatepress.com/article/option_generate_menu_plus_settings/

    #976306
    Mark

    Hi David,

    Thanks so much for your quick answer and support.

    I have tried to remove the sticky option using both ‘Appearance > Layout > Sticky Navigation’ and using the Menu Plus options filter.

    However, despite these all been set to ‘Off’, the header remains sticky. Is there anywhere else this could be applied and any suggestions on how I can find where to turn it off?
    https://gravity360.co.uk/360/storm-trooper/

    Thanks, Mark

    #976312
    David
    Staff
    Customer Support

    You have this CSS which is fixing the header:

    header#masthead {
        position: fixed;
        z-index: 100;
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }
    #976317
    Mark

    Hi David,

    Thanks for finding that CSS for me. That’s a great help.

    Any clues as to where it is located?

    Thanks, Mark

    #976321
    David
    Staff
    Customer Support
    #976341
    Mark

    Hi David,

    Amazing, thank you so much!

    Hopefully, I can get a developer to get this sorted asap. Would you simply delete this code and use WP/GP to customise the sticky features as they are probably designed too?

    Cheers, mark

    #976352
    David
    Staff
    Customer Support

    Yes, simply delete that little block of code from the style sheet and then you can use the customizer or menu options filter provided above

    #976457
    Mark

    Hi david,

    Thanks for confirming what to do.

    Awesome support as always!

    have a good evening. Mark

    #976472
    David
    Staff
    Customer Support

    You’re welcome – have a good evening too

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