Archived topic
Featured Images After First Paragraph
7 replies · Started by Debashish on April 6, 2021
Hi there, I’m currently using GP premium. The featured images are set to show below the title. I'd like to show the featured images after the first paragraph of blog posts. Could you please help me with that? Thanks.
Hi there,
Give this a shot:
https://generatepress.com/forums/topic/decrease-the-spacing-between-the-headline-and-image/#post-1672071
It works like a charm! Thanks so much.
No problem :)
Hi Leo, I'm facing some issues to use featured images after the first paragraph of content. I added the code that was suggested by David. But featured images are showing twice on the content. The first one is well after the first paragraph. Text appears very close below the featured images though. There should be a space.
And If I disable featured images from the setting, Featured images are no more showing as thumbnails. When I go to category pages, for example, there are posts with headlines and text excerpts, but no thumbnail images.
I'm looking forward to hearing from you. Thanks.
Hi there,
you can disable the Featured Image in Customizer > Layout > Blog --> Featured Images - make sure select the Posts tab and make that change.
To add some space below the featured image in the content add this CSS:
.incontent-featured-image {
margin-bottom: 1.5em;
}
Hi David, What I found is I disabled featured images for archives as well. That made the thumbnails disappear. Thanks for coming up with the solutions. I've added the CSS too. Everything seems perfect now. Thanks again for the support.
Glad to be of help