I’m having troubles with bootstraps default layout. I’m trying to change background color of active navigation items which are currently blue, but my css just won’t work on it. Here’s a snippet that will show up on google chrome console on if I inspect a nav item that is selected, but it wont work.
.dropdown-menu .active{
background:red;
}
The css exists, but the link background is still blue.
As I think I’m not making myself clear, here’s a demo about how the navigation looks by default. http://demo.rootstheme.com/
This should do the job:
The problem was that Bootstrap’s
background-imageproperty was overriding yours.