Archived topic
Hide featured image on Blog Page for specific post formats
5 replies · Started by Joel on September 6, 2022
I need to hide the featured image on the *Blog page*, but only for a specific post (not for all posts which can be done thru the Customizer).
I've already hidden it in the post itself using the Disable Elements feature of GP Premium.
There are two options I've considered, but I'm not sure how to achieve either:
1. Hide the Featured Image in the blog roll for all posts with the Post Format set to 'Video'
2. Hide the Featured Image in the blog roll for any post that has Featured Image turned off in GP Premium
Hoping you can help me figure out a solution!
Thank you,
Oh wow I think I just solved this with some super simple CSS:
.format-video .post-image {
display: none;
}
I didn't realize Wordpress adds a 'format-video' class to these post types.
Since I don't display the featured image on these anyway, it makes sense just to shut it off for all of them.
Hi Joel,
Is it for just one specific post? If not, around how many posts will this be? Can you also provide the link to you blog page?
I see. Glad you resolved it!
It's all posts that have the Video format applied.
But I think I just solved it! See my previous reply :O)
Yes, I just noticed your response after sending mine :). Glad you resolved the issue!