[Resolved] Removing text from related posts widget

Home Forums Support [Resolved] Removing text from related posts widget

Home Forums Support Removing text from related posts widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2349779
    Sean

    Hello! I’m using the “related posts” widget in my sidebar, and it includes text that I’d like to remove. I’ve configured it to show the featured image with a link to the post, and the text below it is redundant. See https://www.remembryo.com/large-nordic-study-examines-childhood-cancer-rates-after-ivf/

    Thank you!

    #2349794
    Leo
    Staff
    Customer Support

    Hi Sean,

    The related posts block is a WP core block so the theme doesn’t have any control over it.

    That being said, give this CSS a shot:

    .sidebar a.wp-block-latest-posts__post-title {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #2349804
    Sean

    Beautiful! It worked. Thank you!

    #2349807
    Leo
    Staff
    Customer Support

    No problem 🙂

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