This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Hide Featured Image on certain post Custom CSS

10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread