Change H2 font size

hey there,

i need to change the size of my h2 so that it suits my needs better. it’s too big. i have searched the forum and google but nothing could fix it yet. in the theme options i can only find the option to change letter spacing for the headlines…

TIA

1 Like

Hello @joziguy,

Thanks for asking. :slight_smile:

You can add following CSS under X > Theme Options > CSS to change H2 font size:

h2, .h2 {
    font-size: 16px;
}

Let us know how it goes.

Thanks.

That’s what I had found already in the forum. But it doesn’t change anything.

Hello @joziguy,

Thanks for updating thread. :slight_smile:

Can you please share website URL for us to take a closer look?

Thanks.

1 Like

www.discoverthewildblog.com

Hi There,

Try adding the following CSS rule instead and adjust the values accordingly.

.blog .entry-title {
    font-size: 125% !important;
}

Hope that helps.

Hi. The code you provided changed the headline of the blog entries as you can see on this screenshot https://prnt.sc/ivi2aa

The text I would like to change is this https://prnt.sc/ivi2l8. It’s the h2 headline inside my blog posts.

Hi There,

Please update the previous CSS to this:

.entry-content h2 {
font-size: 125% !important;
}

Hope it helps :slight_smile:

1 Like

That worked, thank you!

You’re most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.