Reply To: H2 text style overwritten by DIV

Home Forums Support H2 text style overwritten by DIV Reply To: H2 text style overwritten by DIV

Home Forums Support H2 text style overwritten by DIV Reply To: H2 text style overwritten by DIV

#199801
Jamal

Hi

Have you tried changing the h2 font weight gloabally at ” Appearance > Customize > Typography > Content Typography” ? Thats the better option i think since your changes will not be overwritten when you update the theme.

Alternatively you can target individual elements by preceding the h2 with that element’s selector like this. You can do this in your child theme.

.home h2 {
  font-weight: bold;
  color: #257;
  text-decoration: underline;
}

The above code will affect all h2 on the page set as your home page. Hope that was helpful.

Agressively support the kind of work you want to see. Buy it. Talk about it. Review it.