This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Sticky header, z-index not respected.
#1
Hi,

Trying to create a sticky header, but somehow the z-index property is not respected.
I have added an additional class to the items I want to stick to the top of the screen and added a fixed position and z-index of 1000
to the custom CSS.

But the other items on the screen e.a objects, labels, etc. which seems to have a z-index of 80, still scroll over my sticky header.
Even tried it via custom JS, so the DOM is created and after that alter the CSS properties. But still no effect. 

Find it also strange that when you change something about an object or label, for example, the order of the items in the HTML changes.
Reply


Messages In This Thread
Sticky header, z-index not respected. - by mischa - 25.12.2020, 07:45

Forum Jump: