Archived topic
Removing text from related posts widget
3 replies · Started by Sean on September 21, 2022
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!
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/
Beautiful! It worked. Thank you!
No problem :)