- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am trying to style this example of the bootstrap dropdown menu but the background-color turns to blue when its clicked on and left blue although I would like to change it to something else. Possibly you can help me find out which selector I have to use in order to change it in the css!? You can view the codepen.io of this here.
Best regards,
Codi
I have added that line of code into my css and still get the default blue color when it is selected for some reason :( Is there any other selector that I may be missing?
Yes I have and I have replaced it in my own css with custom colors of my choosing yet it is still showing that weird blue there (Better shown here)
Here is the css I am using my own stylesheet:
.btn-primary.active,
.btn-primary:active,
.open>.dropdown-toggle.btn-primary {
color: #fff;
background-color: #A30000;
border-color: #A30000;
}
Very close to finishing it but there is one last thing that is still making it turn blue. When I click the navigation menu to toggle it on everything is good but when I try and click it again to close it, that is when it turns blue again.