Site logo

Archived topic

Adding Spaces After Headings

3 replies · Started by Stuart on July 3, 2019

Viewing posts 1–4 of 4

I added some sub headings (H2) to a blog post and want to have more space between each heading and the text below it. I tried adding a blank text block and a blank heading (H3) block but neither one made any difference. Please tell me how to add blank space such as this on pages and posts.

Hi there,

Have you tried the option in Customizer > Typography > Headings?

If you want want to have separate style from the customizer option, I would recommend adding the HTML like this:
<h2 class="content">H2 heading</h2>

Then use this CSS:

h2.content {
    margin-bottom: 4em;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Let me know :)

Thanks, Leo. I might try that. Please reply to this message so that I receive an email notification and can reference this later through the email link (I forgot to check email notification before).

Sounds good :)

This archived topic is closed to new replies.