I have two CSS menus. One in the header and one in the left sidebar. Everything was fine until I added links to the header css dropdown. The challenge is that the CSS dropdowns in the header, once hovered upon, get blocked by the CSS menu that’s nested in the left sidebar.
I prefer to edit the left sidebar CSS but fear that the left sidebar flyout will be hidden by on page elements once it’s hovered over which it did before.
So I have to have my header css dropdown on top of the sidebar navigation and the sidebar navigation on top of the content.
Thanks again for your response. I did figure it out.
I never actually knew what z-index did, I just stumbled upon what it does and bumped up the z-index on the header navigation and viola, it’s done.
Z-Index (for anyone that doesn’t know) is the Z Axis or basically depth (or lack there of) so if you want it to be ontop of something, set it higher, on bottom set it lower. But that can change depending on the type of positioning you assign (absolute / inherit) which actually reverses the function.
Normally dropdown elements have position: absolute on them, and perhaps a touch of z-index. There shouldn’t be a dilemma here. If you show us a link I’m sure we can suggest what to do. Otherwise the question is too vague.