navigation bar text color

Ravi Kumar asked 7 years ago

Hi,I want to change the text color of navigation bar to  #009bdf  please help!thank you.

Piotr Glejzer staff answered 7 years ago

Hi,
if you would like to change navbar color you have to do something like that:

  • add code (below) to your <style></style> in your html file
  • or add that code to your css/style.css file
.navbar{
background-color: #009bdf;
}

Is thar resolve your problem?
Best,
Piotr


bandq1 commented 3 years ago

no, that changes the navbar color, not the text color - as he stated


Marcin Luczak staff commented 3 years ago

Hi @bandq1,

Yes, you are right that would change the background color. To change the text color you should write:<br>.navbar * {<br> color: #009bdf !important;<br>}<br>Keep coding, Marcin


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No