How to change color of opened Bootstrap drop down toggle?

Ads
 

How to change color of opened Bootstrap drop down toggle?

HI,

On click of the item in the bootstrap based menu a toggle drop down appears.

How to change the color of the same?

Thanks

View Answers

March 27, 2015 at 9:39 AM

Hi,

Following code works well:

.navbar-default .navbar-nav .open .dropdown-menu>li>a,.navbar-default .navbar-nav .open .dropdown-menu {
    background-color: #9F0000;
    color:#ffffff;
 }

Add this code in your custom css file.

Thanks

Ads









Related Tutorials/Questions & Answers:
How to change color of opened Bootstrap drop down toggle?
change navbar dropdown color in bootstrap
Advertisements
how to change color of titlebar in java
Drop Down Reloads again in IE..How to prevent this?
How to remove the background color of bootstrap menu bar?
How can I change UIButton title color?
How to change the color of a base64-encoded png image JQuery?
how to change div background color in javascript
How to change table row color when click on Hyper Link in jsp?
Drop Down reload in IE
how to import values from database to the drop down box
how to retreive data dynamically from mysql to drop down list
How to create a dependent drop down list using [Apache POI]
How to create a dependent drop down list using [Apache POI]
drop down
Drop Down
drop down menu
ModuleNotFoundError: No module named 'change-bootstrap'
How to pass parameter through drop down list using session management in jsp??
how to make drop down list in JSF & fetch data Item from database
change color according to the database value
Drop down combos
how to dynamically add text boxes with add and remove link based on drop down choices, if a particular choice is selected.
How to insert multiple drop down list data in single column in sql database using servlet
Setting bootstrap container background color
drop down php mysql - PHP
Drop down menu
Drop down menu
Drop Down Box
change color of back ground using switch
dynamic drop down list

Ads