Home>Support>Hide Featured Image on certain post Custom CSS

Hide Featured Image on certain post Custom CSS

Can someone point me in the right direction on this. I need to hide a featured image in a post. Not all post just certain ones.

I tried this in my custom CSS:

.post-id-1363 .entry-header .entry-thumbnail img { display: none; }

I’ve tried several different variations of this but can’t seem to get it.

I know a little about CSS but I’m not a expert. The post never seems to pick up the custom CSS.

URL: http://christianracing.com/?p=1354

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Ricky

    Thanks for the wait.

    The above snippet should work but the ID of the post in question is “1354”. You can see the post ID in the URL when editing a post in the WordPress admin. At the moment you’re using default permalinks so you can see the ID in the front end URL ?p=1354.

    .post-id-1354 .entry-header .entry-thumbnail img { display: none; }
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More