H2 Styling in Posts

I would like to style my H2 tags in articles only to use a specific font, anyone know how I can accomplish that?

Thank you :slight_smile:

Hi,

You can change fonts from WP admin > Appearance > Customise > Fonts. If you want to add new fonts, check this link http://wpsites.net/web-design/fonts-wordpress/

And with custom css code below you can change font.

For blog page:

.blog h2.entry-title {
  font-family: arial;
}

for single post:

.single-post h1.entry-title {
  font-family: arial;
}

Note: replace arial with your font.

Also you don’t have to edit style.css, you can use simple custom css plugin to apply the code.

Best Regards

Thank you :slight_smile:
I found those tags helpful in other ways, but the code below is what I ended up using to give me the control I was looking for.

.entry-content h2

You’re welcome :slight_smile: ,

Best Regards