The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Bootstrap dropdown menu css

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #209657

    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 of this here.

    Best regards,


    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:, 
    .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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.