Black Friday: $40 off GeneratePress One. See pricing

Archived topic

How to Only Show Featured Image on Blog Homepage and remove the text excerpt

11 replies · Started by bluebit on February 16, 2020

Viewing posts 1–12 of 12

I'd only like to display the post title and featured image on the post for my blog homepage, I want to disable the text excerpt that shows underneath the posts on the frontpage.

Thanks, now how can I move the tags below the featured image closer to the featured image.

I tried adding this to my Custom CSS but no luck:

footer.entry-meta {
margin-top: 0px;
}

Reduce the Content Separator value in Customizer > Layout > Container

Or try:

.entry-summary, footer.entry-meta {
    margin-top: 0 !important;
}

Doing so not only removes the space below the featured image, but also on the top. How to only remove the space below the featured image?

Did you try the CSS i provided here instead?

yes, I just added this code:

.entry-summary {
margin-top: 0 !important;
}

Seems to not work

I edited the above CSS - try that

nice David!!!! It worked, thank you so much!!!

Glad we got there :)

Hi David, I also have the same requirement. As you suggested, I made the excerpt value to 0. Still the content is being displayed under the thumb image in my websites home page.

Please note that there is no content in the excerpt field in the single post. So it is fetching content from post itself.

I am using a child theme.

What should be the solution? I want only thumb images and titles to be displayed on home page of my website. Here is the link of my site - https://likesfair.com

Please suggest.

I see that this thread is marked as resolved. So I will post my query in a separate new topic.

This archived topic is closed to new replies.