Archived topic
Sticky navigation z-index
2 replies · Started by Harris on January 30, 2021
Hello,
I am using
/*Set sticky navigation on top of everything */
.sticky-enabled .main-navigation.is_stuck {
z-index:100000 !important;
}
but the "Next upcoming event" and the search blocks in the homepage keep going on top of the sticky header (and the admin top bar).
Can you please help me?
Hello once again. I managed to decrease the z-index of the elements causing the problem.
If you want just let me know how can I change the navigation and sticky navigation z-index, for future use.
Thanks
Hi there,
I managed to decrease the z-index of the elements causing the problem.
This would be the correct fix.
If you want just let me know how can I change the navigation and sticky navigation z-index, for future use.
Your CSS should work but your fix to lower the z-index of other elements would work better.