So folks, my menu that opens and closes, after opening it, it gets behind other divs, but I wanted the menu to stay in front of them, how to proceed?
So folks, my menu that opens and closes, after opening it, it gets behind other divs, but I wanted the menu to stay in front of them, how to proceed?
#menu{
z-index: 999
}
basically, what happens is that the div's Z-index is the same as the menu, and probably it's outside the div, so it stays in front of it.
What you have to do is to leave the Z-index of the menu larger than that of the div. You can edit the two Z-index or just the one from the menu.