Can you help me how to hide page's feature image?

In my previous post, your team gives me a code, where the feature images hide on posts. But on pages, they r still viewable. Pls, help me to figure out this.
I use code for hide post’s feature image: single-post .x-main.left .hentry .entry-featured {
display: none;
}
I want to hide all feature images from all pages

Hello @partsofspeech2018,

Thanks for posting in!

Please be informed that when you are using a page default template, the featured image will always display. If you use Blank - Container or Blank - Container page templates, the page title and the featured image will be removed automatically. For more details about the page templates we have integrated in the theme, please check this out:

If you still want to use the css instead, you can make use of this code:

 .single-post .x-main.left .hentry .entry-featured,
 .page .x-main .entry-featured {
    display: none;
}

Hope this helps. Please let us know how it goes.

1 Like

Yeah, it’s work. thanzx

You’re welcome!
Thanks for letting us know that it has worked for you.

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