Show Hidden Menu [closed]

1

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?

    
asked by anonymous 27.12.2018 / 15:12

1 answer

0
#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.

    
27.12.2018 / 15:15