Secondary menu, sticky on scroll?

Hi!

I have a header (Wanderlust) with a sticky main menu assigned to my home page. I also have the same menu but not the pictures/animation assigned to all other pages.

I want to make a secondary menu that is placed a little down on the page and that sticks to the top under the main header menu when scrolling down. I´ve placed an inline element on a page to try it out, but couldn’t figur out how to make it sticky.

Or alternatively, I’d like to make that secondary menu invisible when at the top of the page and when you scroll down it appears under the main header menu. This is probably nicer actually.

Can I assign multiple Headers to the same page? So I could just make a Header menu bar, assign it to the pages I want, and make sure it’s invisible first and then when scrolling down it shows up? How?

The point of the secondary menu is to use it for scrolling navigation on some pages with lots of sections.

I searched the forums but couldn’t find any posts on it. How do I accomplish this? :slight_smile:

Website: https://www.magnusfroidh.com/

Thanks!

Regards / Magnus

Hello Magnus,

Regretfully only one custom header will display on the assigned page. In your custom header, you can use another Bar element and make it “Sticky”.

And then in your Sticky settings, you can use Trigger Selector or the Trigger Offset which should display the sticky bar when one of the trigger option conditions is met.

Please check out this video for reference:

Hope this helps.

Ok! Thanks for the help! I’ll try it! :slight_smile:

/ M

Ok it worked as I wanted it to! Thanks a lot! :slight_smile:

Hi Magnus,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.