Remove comments on blog posts featured image

Hi, wondering if there’s a css snippet to remove the comments (2 comments etc) displayed on the featured image for a blog post?

I’ve removed the date and author with css but still left with the comments showing and disabled comments in Wordpress .

Thanks

Hi,

Please use this CSS snippet:

.single-post .post__details>a {
	display: none;
}

I believe this will be useful to you.

Thanks Andrii. this works on the actual post page but I refer to the display block - on the front page where it says ‘from the blog’ there are 3 columns with 3 blog posts. Where it displays the featured image for the post it also displays an overlayed text of the text of the date, by… author and comments. I want to remove the comments text.

Thanks

Hi,

Please send a screenshot of this page and we will try to help.

Hi Andrii, here is a screenshot…

Hi,

I see. Please use this CSS snippet:

.post--archive .post__details>a {
	display:none;
}

Please note that it can require further customization.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.