Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the default header color in MVC5 app

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 ...

like image 398
07_05_GuyT Avatar asked Apr 13 '14 12:04

07_05_GuyT


1 Answers

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; }
like image 197
Agha A. Raza Avatar answered Sep 16 '22 21:09

Agha A. Raza