Sticky menu on top

Hi,

im trying to sticky my inline menu element using position fixed.

$el{
width: 75%;
position: fixed;
top: 120px;
background-color: white;
z-index: 9999999999 !important;
}

also tried using a custom class. The menu does not get a white backgound, and it is behind all the images and some of the text.
What am i doing wrong?

This is the site:
http://motionair.no/grip/

Hi @motionair,

Thanks for writing in!

Can you please increase the z-index value (1030) of the section where the menu is.

Hope this works for you!

genious! that makes it all good :slight_smile:

My last tiny problem… when i click the links on my new menu they dont stay the color that says they were clicked… i would like them to stay blue after click. this is a little above my skill level, any tips greatly appriciated!

talking about the lower one of the menus.
http://motionair.no/drones/
¨thanks a bunch!

Hi There,

Regretfully, that is not possible with your current lower menu markup. Unlike on your upper menu where it adds a current_page class when you’re on that page, the lower menu does nothing so we cant target those lower menu items with a CSS to style the current_page separately. You need to apply the same method you applied on the upper menu.

Regretfully, we cannot provide support for third-party scripts.

Thank you for your understanding.

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