Ravi Kumar free asked 6 years ago

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

Piotr Glejzer staff answered 6 years ago

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
background-color: #009bdf;

Is thar resolve your problem?

bandq1 free commented 2 years ago

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

Marcin Luczak staff commented 2 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.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No