Archived topic
Reduce white space between article heading/first paragraphs and featured image
8 replies · Started by lewis on June 25, 2021
Hi all, I am looking to reduce the white space for all blog posts on my site. There is big white empty space above the featured image and also below the featured image before the content starts. Here is a screenshot https://imgur.com/a/BL5A58S .
I have tried changing it in the theme, but cannot find anything. Looks like it needs some a bit of custom code. Any help would be much appreciated! Thanks
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Please see info
not sure if I sent the details correctly, here is a link :) https://querysprout. com/does-kohls-allow-dogs/
Can you try this option?
https://docs.generatepress.com/article/content-separator/
Hi Leo, yes I have tried that, but that only changes the gap in the blog roll of "recent posts". I am trying to reduce the gap for on each individual blog post.
Give this CSS a shot:
.single .featured-image.page-header-image-single {
margin-top: 1em !important;
margin-bottom: 1em;
}
You sir are a genius! Works like a charm. Thanks so much.
No problem :)