0
Good I’m having a problem in the responsibility of my web page due to navbar. In the navbar when the screen is less than 540px wide the navbar gets the dropdown but my problem is that the content of the dropdown is superimposed by another div as you can see here
http://casimirowebshare.000webhostapp.com/nutrirossio/produtos.php
I’ve tried to put the div position in relative and it works but all the animations I have on the page are without animations , so :
.dropdown-content {
position: absolute;
width: 100%;
z-index: 1;
}
.artigos_para_venda{
z-index: -1;
position: relative;
}
http://casimirowebshare.000webhostapp.com/nutrirossio/contactos.php
Someone knows how to solve?
Do a [mcve], please.
– Woss
ja @Andersoncarloswoss
– Casimiro
Having to access an external link and to know the code would need to access the source code and analyze a whole page of HTML. Why not simplify this and play the problem using the Sopt snippet?
– Woss
as such @Andersoncarloswoss
– Casimiro
@Rafaelcasimiro guy, and if you don’t use
display: absolute;
in the.dropdown-content
, because it will end up in the same look.– Lucas Fontes Gaspareto
@Lucas but if I take display: Absolute; the dropdown will not be over the div
– Casimiro
@Rafaelcasimiro doesn’t need to be on top, just then
– Lucas Fontes Gaspareto
@Ucas for me it is necessary
– Casimiro
@Rafaelcasimiro thinks well, if you let
absolute
will cover the search and the title.– Lucas Fontes Gaspareto
@But that’s what I want
– Casimiro