Change H2, H3... Style (Space front of the H2 title or after)

Hello Everyone,

How can I change the space in front of the H2 title(H3, H4…) or after?

Default is single and double line?

Thanks.

Hello there,

You can use this CSS code:


.panel-grid-cell .widget-title {
  margin-bottom: 10px !important;
}

To apply to your site, add it into Appearance > Customize > Additional CSS in your site dashboard.

Regards,
Kharis

Hi Kharis,

Thanks for your reply. I added the code but nothing happend :frowning:
Any idea?

Thanks,

Hello there,

Please share your site URL here, and point me to the heading tags you mentioned; how do they read? So I can assist you in better way.

Regards,
Kharis

Thanks for your reply.

Basically on this link after each picture the space is to small. (It seams the new H2 title is the picture title)

I tried put more enter after the picture but nothing happened(text mode as well). I checked the developer view in the browser and I saw in front of the H2 title the space is single enter but after double enter. And that space what I want to change somehow.

Thank You!

Hello there,

Try adding this custom CSS code:


.entry-content h2 {
  margin-top: 30px;
  margin-bottom: 30px;
}

Regards,
Kharis

Hi,

Working perfect now :slight_smile:

Many thanks! Good day!

BR,
AG

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis