Topic: navigation bar text color
Ravi Kumar free asked 6 years ago
Piotr Glejzer staff answered 6 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 free 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No