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

Home Forums Support [Resolved] How to Only Show Featured Image on Blog Homepage and remove the text excerpt

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

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1166803
    bluebit

    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.

    #1166858
    David
    Staff
    Customer Support

    Hi there,

    make sure the Blog Module is enabled in Appearance > GeneratePress:

    https://docs.generatepress.com/article/blog-overview/

    Then Customizer > Layout > Blog to set the Excerpt to 0

    #1166897
    bluebit

    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;
    }

    #1166958
    David
    Staff
    Customer Support

    Reduce the Content Separator value in Customizer > Layout > Container

    Or try:

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

    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?

    #1167155
    David
    Staff
    Customer Support

    Did you try the CSS i provided here instead?

    #1167159
    bluebit

    yes, I just added this code:

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

    Seems to not work

    #1167170
    David
    Staff
    Customer Support

    I edited the above CSS – try that

    #1167171
    bluebit

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

    #1167173
    David
    Staff
    Customer Support

    Glad we got there 🙂

    #1535877
    Bhawana

    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.

    #1535946
    Bhawana

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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.