Reputation: 169
I cannot change the grey text to yellow when a dropdown is clicked in a collapsed view. I have the example at http://www.bootply.com/zGzMrrmrWL
My code is all over the place because I have just been throwing things in to see if they work! I'm at that kind of desperation state! Can anybody show me what I haven't done? I simply want all the text to be yellow, whether it is in a dropdown or on the main menu
Upvotes: 0
Views: 61
Reputation: 362430
You need to have..
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {color:#FFFF00; font-size: 18px;}
in your CSS overrides to the specificity of .dropdown-menu>li>a
isn't enough to override Bootstrap's CSS that is changing the color to grey.
Upvotes: 1