why
why

Reputation: 24851

How to customize the header of bootstrap

I am using bootstrap for my site, I think the black header is not good and the font is too small. How to customize the header of bootstrap ? Is there any example ?

Upvotes: 1

Views: 13131

Answers (1)

killebytes
killebytes

Reputation: 980

It's better to just override the class/id.

Declare the bootstrap first then your own css

<link href="assets/css/bootstrap.css" rel="stylesheet">
<link href="assets/css/mystyle.css" rel="stylesheet">

in your mystyle.css you can:

header,.header,#header{
  background: red;
  color: white;
  font-size: 15px;
}

Upvotes: 3

Related Questions