Archived topic
Padding at the top and bottom of post images
3 replies · Started by Jake on September 11, 2019
Viewing posts 1–4 of 4
Hi there,
I'm trying to add a bit of breathing room at the top and bottom of images in my blog pages, but can't seem to get it right.
https://stridedigital.com/blog/seo/estate-agents/
I just want to add 10px padding or so to the top and bottom.
Could you help?
Hi there,
Give this CSS a shot:
.site-content figure.wp-block-image {
padding: 10px 0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
Spot on as always!
Thanks :)
No problem :)
This archived topic is closed to new replies.