- This topic has 8 replies, 2 voices, and was last updated 6 years, 6 months ago by Andrew Misplon.
Tagged: featured image
- AuthorPosts
- May 7, 2018 at 3:14 am #9642
David BakerParticipantHi. I appreciate the option to not display the featured image on single posts. But how can I hide the featured image on all pages? (I have a child theme I can alter as needed…)
May 7, 2018 at 8:08 am #9643
Andrew MisplonKeymasterHi David
Thanks for posting.
You can add to
Customize > Additional CSS
or the alternative CSS location of your choice:.page .entry-thumbnail { display: none; }
May 7, 2018 at 11:55 am #9644
David BakerParticipantThank you! That worked perfectly.
May 7, 2018 at 11:57 am #9645
David BakerParticipantOh wait. OK, it worked, but it then hid featured images on my home page, in the post loop widget.
I would only like to hide featured image on the single page – if that makes sense.
May 7, 2018 at 12:43 pm #9646
Andrew MisplonKeymaster.page:not(.home) .entry-thumbnail { display: none; }
?
May 7, 2018 at 1:28 pm #9647
David BakerParticipantNo, that did not work, unfortunately.
Here is a page with the top red image being a featured image that is automatically placed on the page – I would like this featured image to not display: http://www.petful.net/pet-food-recall-center/
And here is the home page with other “teasers” to posts. I would like the featured images to remain there (and in the sidebar carousel if possible): http://www.petful.net/
May 7, 2018 at 1:32 pm #9649
Andrew MisplonKeymasterThanks.
body.page:not(.home) .entry-thumbnail { display: none; }
May 7, 2018 at 7:21 pm #9650
David BakerParticipantThanks!
May 7, 2018 at 8:11 pm #9651
Andrew MisplonKeymasterSuper 🙂 Glad to hear that did the trick.
All the best.
- AuthorPosts
You must be logged in to reply to this topic.