• TWYH

    (@twyh)


    Is there a way to create my secondary navigation menu to be static so that it stays up top when scrolling down?

    See site: https://freeocean.ru/
    (site is password protected not sure how to give you access without publicly showing the password?)

    and i want that secondary navigation on the blue bar to be static at the top when scrolling.

    Kim

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    A sticky header is an option in the premium theme.
    There isn’t the javascript need to make the secondary menu sticky in the free theme.

    Kadence Themes

    Thread Starter TWYH

    (@twyh)

    Thank you for your response.

    So if I upgrade to the premium theme does this mean I can make the secondary nav menu sticky or will the option only exist for the primary nav?

    Kim

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    So in the premium theme you can make the whole header sticky. But if you wanted to just target the secondary nav then there is a simple script that you can use because the premium theme has a js library that works this way.

    This is something if you have the premium theme you can just post the question on the premium support forms and we can post the code for you to use.

    Kadence Themes

    Thread Starter TWYH

    (@twyh)

    I’m happy to support Kadence themes for their great work, but other than this one thing having the premium theme seems like overkill for our needs.

    Through CSS i was able to get the topbar to stay at the top (be sticky) so am I wrong to assume that the ability to do this with the navigation menus is also possible?

    Kim

    Well, its seems you really don’t trust me, Let me reassure you I am not trying to force you to do anything or cheat you in any way.

    You can’t make the secondary nav become sticky as you scroll with css. You can use css to make it’s position fixed but that won’t mean that it will move as you scroll then stick once it’s on top.

    Kadence Themes

    Thread Starter TWYH

    (@twyh)

    I trust you, I believe I am just misunderstanding something.

    Can you further explain “stick once it’s on top”? Or do you have an example, I want to be sure that “sticky” is the right thing I am going for. Basically, I want what you will see on my other website for the navigation menu:
    https://leadaslove.com/

    thanks again,
    Kim

    Yeah your link shows we are talking about the same thing.

    See how the menu doesn’t stick to the top of the screen until you scroll down to it.. that is done with js.

    Kadence Themes

    Thread Starter TWYH

    (@twyh)

    got it! ok thank you. Last question I promise, will the child’s theme that I have working with the free version of virtue have to be changed to work with the premium version?

    You would have to change the line in the child theme css that points to the template. It would become virtue_premium instead of virtue.
    It also depends on what you’ve changed int the child theme. If it’s just adding css that is one thing but if you’ve overridden files then you would need to update to match the premium theme.

    Kadence Themes

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Static secondary nav’ is closed to new replies.