0
UPDATE
I am developing a web application and I put the bootstrap menu and I would like the menu items to change color and not in this black color but in the color #00008B
Menu items
HTML
<ul class="dropdown-menu">
<li class="conteudo_drop"><a href="#"><i class="fa fa-laptop"></i> Meus Pedidos</a></li>
<li class="conteudo_drop"><a href="#"><i class="fa fa-gear"></i> Meus Dados</a></li>
<li class="conteudo_drop"><a href="#"><i class="fa fa-group"></i> Fale Conosco</a></li>
<li><a href="#"><button type="button" onclick="" class="btn_entrar" >Entrar</button> </a></li>
<li class="conteudo_drop"><a href="cadastro.jsp"> Cliente novo? Cadastre-se</a></li>
</ul>
CSS
.dropdown-menu{
background-color: white;
color:white;
}
.conteudo_drop{
color:#00008B !important;
}
I think you can’t put one
<li>
within a<div>
– I_like_trains
Add the class you have on the Divs in
<li>
and then take out the Ivs– I_like_trains
I took the div inside the li and put the class inside the li, the items appeared but the Hover effect didn’t work
– User1999
l_like_trains I updated the question and put the new codifo
– User1999
Ever tried to use
color: red !important?
– Rafael Augusto
What do you want to change color? the background or the letters? maybe a verifiable example will help you
– BrTkCa
I want you to change the background color and color of the items. Example . conteudo_drop a:Hover{ color: red; text-Decoration: None; background-color: blue; }
– User1999
Rafael Augusto worked now when passing the mouse over the items they change color and the background color, but now the problem is that I can not change the color of the menu items, updated the question and the new problem
– User1999