[Resolved] How to Hide Featured Image on Pages?

  • Author
    Posts
  • #9642

    David Baker
    Participant

    Hi. 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…)

    #9643

    Andrew Misplon
    Keymaster

    Hi David

    Thanks for posting.

    You can add to Customize > Additional CSS or the alternative CSS location of your choice:

    .page .entry-thumbnail {
    	display: none;
    }
    #9644

    David Baker
    Participant

    Thank you! That worked perfectly.

    #9645

    David Baker
    Participant

    Oh 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.

    #9646

    Andrew Misplon
    Keymaster
    .page:not(.home) .entry-thumbnail {
    	display: none;
    }

    ?

    #9647

    David Baker
    Participant

    No, 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/

    #9649

    Andrew Misplon
    Keymaster

    Thanks.

    body.page:not(.home) .entry-thumbnail {
        display: none;
    }
    #9650

    David Baker
    Participant

    Thanks!

    #9651

    Andrew Misplon
    Keymaster

    Super 🙂 Glad to hear that did the trick.

    All the best.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Scroll to top