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?
How can I change UIButton title color?
How to change the color of a base64-encoded png image JQuery?
Drop Down Reloads again in IE..How to prevent this?
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 to change backgroundcolor and foreground color of JLabel in Java - Java Beginners
drop down list in Struts
How do i retain values in the drop down - Struts
change player dress color
change color according to the database value
Change the color of the selected tab
drop down menu
how to import values from database to the drop down box
Setting bootstrap container background color
JavaScript change background color automatically
how to retreive data dynamically from mysql to drop down list
Drop down combos
How to create a dependent drop down list using [Apache POI]
How to create a dependent drop down list using [Apache POI]
To change the color of text hyperlinks midway
To change the color of text hyperlinks midway
To change the color of text hyperlinks midway
change color of back ground using switch
ModuleNotFoundError: No module named 'toggler'
Drop down menu
Drop down menu
Drop Down Box
validation for drop down list
Java Servlet Change Background Color
dynamic drop down list
Login With Drop Down
MKMapView Change Red Pin Color
drop down php mysql - PHP
Change Color and Font of text
Dependent drop down list
dynamic drop down
Ajax drop down and textbox
Change background color of text box - Java Beginners
jsp drop down without refresh - JSP-Servlet

Ads