Sebastian Zolg
Sebastian Zolg

Reputation: 1961

How to set different font-weights for headlines in bootstrap v4

Within my website design, various headlines (h1, h2, h3) have various font-weights. E.g. h2 is bold while h1 is regular.

Within my custom.scss, I can only override bootstraps $headings-font-weight. Unfortunately, this sets the weight for all headings.

What is the best way to override the font-weight for just h2?

Upvotes: 3

Views: 113

Answers (1)

zmag
zmag

Reputation: 8251

Override the style of h2 in your custom.scss.

h2 {
  font-weight: 100;
}

Upvotes: 2

Related Questions