[Support request] "Stick" primary nav below header to "sticky" header

Home Forums Support [Support request] "Stick" primary nav below header to "sticky" header

Home Forums Support "Stick" primary nav below header to "sticky" header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #220839
    Lyle

    Hi Tom,

    As the subject mentions, I have a header that is set to “sticky” and the primary nav is set to “below header”. What I am trying to accomplish is have the primary nav “stick” along with the header when the page is scrolled.

    The GP Premium add-ons are not installed nor activated and I would like to do this without doing so. I know how I could do it using another plugin but I would prefer to keep it all “original GP” πŸ™‚

    Cheers!
    Lyle

    #220844
    Tom
    Lead Developer
    Lead Developer
    #220849
    Lyle

    Thanks, Tom, but that solution requires the GP Premium Hooks add on and I would like to avoid using any add on. Is there some code that could be added to Simple PHP? Simple CSS is already present and in use.

    #220850
    Tom
    Lead Developer
    Lead Developer

    GP Hooks just writes the functions for you.

    You can write the functions that hook into the hooks in Simple PHP: https://generatepress.com/knowledgebase/hook-list/

    #220852
    Lyle

    Thanks Tom, I’ll give that a go later today and report back πŸ™‚ Thanks so much for your tremendous support!

    #220854
    Tom
    Lead Developer
    Lead Developer

    Happy to help πŸ™‚

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