Site logo

Archived topic

Global above and below blank spacing within posts.

4 replies · Started by John on May 21, 2016

Viewing posts 1–5 of 5

Hi there,

Is there any way to globally set the spacings within blogs and posts from the default values? I'm sure there is. I am a complete noob to this game. I've written a lot of VBA but I'm still getting my head around web code, where to find things and where to put code. Please let me know exactly where I need to put code changes!

This image describes best where I want to make adjustments -

I'm using GP Premium, thanks, John.
Change Spaces

Hi there,

You can use this CSS:

.entry-content, 
.entry-summary, 
.page-content {
    margin-top: 2em;
}

#jp-relatedposts {
    margin-top: 1em;
}

.separate-containers .inside-article .page-header-image-single {
    margin-bottom: 2em;
}

Adding CSS: https://generatepress.com/knowledgebase/adding-css/

Just adjust those values to whatever you like :)

Thanks Tom.

You're welcome :)

This archived topic is closed to new replies.