I’ve integrated this simple horizontal menu in all my pages of my web app.
https://jsfiddle.net/3u6m4b1w/
When the page is opened on full screen, all is ok (see pic):
But when I switch to responsive (see pic 2) I get this strange problem:
The alert box in yellow become bigger in tall, and the menu is hidden behind the main content!
I’ve already tried with z-index like:
.nav-list-pagina { z-index:9999; }
but nothing appened.
What I like to obtain is this (photoshop edited):
Anyone can help me find the correct CSS?
UPDATED FIDDLE WITH LAST JQUERY
2
Answers
I suppose you can add
clear: both;
CSS property to the.alert
class :Try this code, should work for overlapping.