How to change color of opened Bootstrap drop down toggle?

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









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
color change
How to remove the background color of bootstrap menu bar?
Drop Down Reloads again in IE..How to prevent this?
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 background color in dojo tab container - Framework
how do you change the message box to a specific color
drop down
Drop Down
How to change table row color when click on Hyper Link in jsp?
Drop Down reload in IE
ModuleNotFoundError: No module named 'change-bootstrap'
How do i retain values in the drop down - Struts
How to change backgroundcolor and foreground color of JLabel in Java - Java Beginners
drop down list in Struts
how to import values from database to the drop down box
Setting bootstrap container background color
change player dress color
Change the color of the selected tab
drop down menu
change color according to the database value
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 combos
ModuleNotFoundError: No module named 'toggler'
JavaScript change background color automatically
To change the color of text hyperlinks midway
To change the color of text hyperlinks midway
To change the color of text hyperlinks midway
Drop down menu
Drop down menu
Drop Down Box
validation for drop down list
change color of back ground using switch
dynamic drop down list
Login With Drop Down
Java Servlet Change Background Color
drop down php mysql - PHP
MKMapView Change Red Pin Color
Dependent drop down list
dynamic drop down
Ajax drop down and textbox
Change Color and Font of text
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

Ads