Archived topic
set container->content padding but only for blog page
8 replies · Started by bramtim on September 17, 2019
How would I go about changing the container->content padding for JUST the blog index page?
Hi there,
CSS is required.
Any chance you can link us to the page in question?
You can edit the original topic and use the private URL field.
Let me know :)
I am fine with adding css. :)
Added private url.
Not quite sure which padding you are trying to change.
Yes exactly
And this setting adjusts it but does it site wide, which I do no want. https://imgur.com/a/7wR2JVl
Try this CSS:
.blog.separate-containers .inside-article, .archive.separate-containers .inside-article {
padding: 20px 30px 40px 50px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know :)
Thanks! Had to tweak the numbers but it works great!
No problem :)