Site logo

Archived topic

How do I reduce the padding inside these containers?

3 replies · Started by Andy on October 13, 2020

Viewing posts 1–4 of 4

Hi there,

How do I reduce the left, right, top, and bottom padding inside these containers? Overall, to reduce the space around my post titles.

If possible, without affecting the container padding on my single blog posts.

https://imgur.com/a/rGqz7ar

Thank you

Hi there,

If possible, without affecting the container padding on my single blog posts.

Since you are removing the padding for the featured images, it would actually be easier to set the padding you want for those blocks in the customizer, then we can target the single post content padding separately like this:

body.single.separate-containers .inside-article {
    padding: 20px;
}

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

Great, thanks Leo!

No problem :)

This archived topic is closed to new replies.