change navbar dropdown color in bootstrap

Ads
 

change navbar dropdown color in bootstrap

How to change the color of navbar dropdown color in a bootstrap based menu in a website?

Thanks

View Answers

March 27, 2015 at 9:48 AM

Hi,

You should use the following code in your custom css file:

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

Above code customized to add the required color.

Thanks

Ads









Related Tutorials/Questions & Answers:
change navbar dropdown color in bootstrap
change navbar dropdown color in bootstrap  How to change the color of navbar dropdown color in a bootstrap based menu in a website? Thanks  ...-default .navbar-nav .open .dropdown-menu>li>a,.navbar-default .navbar-nav
How to change color of opened Bootstrap drop down toggle?
How to change color of opened Bootstrap drop down toggle?  HI... .navbar-nav .open .dropdown-menu { background-color: #9F0000; color... to change the color of the same? Thanks   Hi, Following code works well
Advertisements
ModuleNotFoundError: No module named 'django-bootstrap-navbar'
ModuleNotFoundError: No module named 'django-bootstrap-navbar'  Hi...: No module named 'django-bootstrap-navbar' How to remove the ModuleNotFoundError: No module named 'django-bootstrap-navbar' error? Thanks   
ModuleNotFoundError: No module named 'django-bootstrap-navbar'
ModuleNotFoundError: No module named 'django-bootstrap-navbar'  Hi...: No module named 'django-bootstrap-navbar' How to remove the ModuleNotFoundError: No module named 'django-bootstrap-navbar' error? Thanks   
How to remove the background color of bootstrap menu bar?
How to remove the background color of bootstrap menu bar?  Hi, What css can be used to remove the color of bootstrap menu bar? thanks   Hi, Use the following code: .navbar { background-image: url(/d2/images
how to change color of titlebar in java
how to change color of titlebar in java  pls help
ModuleNotFoundError: No module named 'change-bootstrap'
ModuleNotFoundError: No module named 'change-bootstrap'  Hi, My... named 'change-bootstrap' How to remove the ModuleNotFoundError: No module named 'change-bootstrap' error? Thanks   Hi, In your
change color according to the database value
change color according to the database value  any one know how to get values from database ( 1 or 0 ) and according to that change the color ( red or green) of given list
Setting bootstrap container background color
Setting bootstrap container background color  How to set the background color of the container in bootstrap for a web page? Thanks   Hi, You can set the color using the following code: body { background-color
MKMapView Change Red Pin Color
MKMapView Change Red Pin Color  MKMapView Change Pin Color Hi, in my iphone map view application, i displayed the image on annotation instead of custom pin. But however on click it changes to red color pin. Can any one please
change color of back ground using switch
change color of back ground using switch   how to change back ground color according to day using switch case
How can I change UIButton title color?
How can I change UIButton title color?  Hi, I have a button in my iPhone/iPad application. I want to change the color of the text when user clicks..., You have to set the color of the button for a particular state say
How to change the color of a base64-encoded png image JQuery?
How to change the color of a base64-encoded png image JQuery?  I am going to change the colors of the pixels of a png image(which is in base64 format.... the original image is shown, but the color does not change. Do you know why
how to change div background color in javascript
how to change div background color in javascript  how to change div background color in javascript ?   <div id="Name">   <div class="content">      <h2>Your Name here</h2>       <p>First
How to change the dropdown values based on other dropdown in itext pdf or in any other?
How to change the dropdown values based on other dropdown in itext pdf or in any other?  How to change the drop down values based on another drop down? For eg: If we select one county, that related states only come, if we select
How to change table row color when click on Hyper Link in jsp?
How to change table row color when click on Hyper Link in jsp?  I use... row2 row3.. when click on the link1 automatically change the the row1 color,similarly when click on the link2 automatically change the the row2
to change the styleclass color of <apex:outputlabel > onclick button function in javascript
to change the styleclass color of onclick button function in javascript ... , then through javascript how can we change the color of outputlabel to red color .my { color: Black; font-size: 10px; font-family: Arial
How to automatically change the value of the textbox based on the dropdown list?
How to automatically change the value of the textbox based on the dropdown list?  I want to know how to automatically change the value of price...; </tr> <tr> <td style="color:red">
Change JPanel background color from mouse entered/exit event
Change JPanel background color from mouse entered/exit event  I have..."); and I got it to work that way but I couldn't get the tile JPanels to change color with setBackground(new Color());. Any suggestions would be greatly appreciated
dropdown
dropdown  how to hide textbox field when i deselect from select dropdown
dropdown
dropdown  I have a dropdown having 2 options-"Open"& "closed".When i select "open" option the related rows of data are retrieved from database and same with the other option.My database is Mysql and coding in PHP
ModuleNotFoundError: No module named 'django-navbar'
ModuleNotFoundError: No module named 'django-navbar'  Hi, My... 'django-navbar' How to remove the ModuleNotFoundError: No module named 'django-navbar' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-navbar'
ModuleNotFoundError: No module named 'django-navbar'  Hi, My... 'django-navbar' How to remove the ModuleNotFoundError: No module named 'django-navbar' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'edc-navbar'
ModuleNotFoundError: No module named 'edc-navbar'  Hi, My Python... 'edc-navbar' How to remove the ModuleNotFoundError: No module named 'edc-navbar' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'flask-navbar'
ModuleNotFoundError: No module named 'flask-navbar'  Hi, My Python... 'flask-navbar' How to remove the ModuleNotFoundError: No module named 'flask-navbar' error? Thanks   Hi, In your python
div background color in html
div background color in html   How to change the background color of DIV in HTML
dropdown box
dropdown box  i need to have country,state and city in drop down box using ajax and use db2 database   Have a look at the following link: JSP dependent dropdown
ModuleNotFoundError: No module named 'django-grappelli-navbar'
ModuleNotFoundError: No module named 'django-grappelli-navbar'  Hi...: No module named 'django-grappelli-navbar' How to remove the ModuleNotFoundError: No module named 'django-grappelli-navbar' error? Thanks   
ModuleNotFoundError: No module named 'django-navbar-client'
ModuleNotFoundError: No module named 'django-navbar-client'  Hi...: No module named 'django-navbar-client' How to remove the ModuleNotFoundError: No module named 'django-navbar-client' error? Thanks   Hi
ModuleNotFoundError: No module named 'django-navbar-client'
ModuleNotFoundError: No module named 'django-navbar-client'  Hi...: No module named 'django-navbar-client' How to remove the ModuleNotFoundError: No module named 'django-navbar-client' error? Thanks   Hi
ModuleNotFoundError: No module named 'grappelli-dynamic-navbar'
ModuleNotFoundError: No module named 'grappelli-dynamic-navbar'  Hi...: No module named 'grappelli-dynamic-navbar' How to remove the ModuleNotFoundError: No module named 'grappelli-dynamic-navbar' error? Thanks  

Ads