I've create MVC5 app ,in the view index the header color is black and I want to change it,where can I find it?
I try to search for #000000 but its in a lot places ...
In default MVC 5 web site, the background color of the header navigation bar is applied through .navbar-inverse
css class available in bootstrap.css
file under \Content\bootstrap.css
folder of your project.
To change this style, you can override it in the Site.css file instead of changing the base bootstrap css file itself.
Simply adding the following to your Site.css file should change the background color of the navbar.:
.navbar-inverse { background-color: #ccc !important; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With