I can't remove the featured image from blog posts

I don’t want the featured image to appear in the actual blog posts.

I’ve looked through other threads and this is the code I have in the custom css:
.single .entry-featured {
display: none;
}
But the featured image still shows up:
https://crossfitcortez.com/2017/07/workout-7-25-17/

I do want the featured image to appear in the category archive, otherwise I just wouldn’t select one…

Thoughts? Thanks!

Hello @evshinkle,

Thanks for writing in!

Please add following code instead:

.entry-featured {
    display: none;
}

Let us know how it goes.

Thanks.

1 Like

Thanks, but it didn’t work.

https://crossfitcortez.com/2017/03/sample-post/

It’s so weird, because it seems like that code has worked for everybody else, and even worked on another site I built with X theme. In this case it isn’t…

Any other ideas???

Hi there,

The code didn’t work as there might be some CSS error on the customizer.

Please copy the entire code that is in the customizer here to check for CSS errors.

Hope this helps.

The css editor in the Customizer won’t let me copy the code. I can’t highlight it. Is this just me?

Either way, the only mention to anything blog-related in the css is the code I mentioned above.

Any other thoughts on how I can proceed? Is there a trick to being able to highlight the code that I don’t know about? I’ve tried to highlight it the way I would any other text and the cursur just moves without highlighting…?

Thanks again. It’ll be great to figure this out. Love X theme.

Hi again,

It’s the default behavior of the editor, whenever you select, it doesn’t highlight but the content is selected. To select all just press Ctrl + A then Ctrl + C to copy the entire code.

Hope this helps!

Thank you for your help. I ran this through the tool you gave me, made some corrections and moved the css snippet specific to the blog issue and it worked. Thanks again.

On behalf of my colleague you’re welcome.

Cheers!

I used the code…
.entry-featured {
display: none;
}

But unfortunately it removed it from the aggregated content thumbnails too?!?!

is there code that will only remove it from the actual posts not the aggregated content?

Hi there,

Thanks for writing around! You can replace your code with this:

.single-post .entry-featured {
  display: none;
}

Cheers!

That is per post. Is there any way to do it globally so it does not appear on the top of a post or portfolio but is used in the thumbnail grid or aggregated content blocks?

For instance…
http://julielohresfitbody.com/aggregator - The blog now does not show the images in the aggregate view.

Hi again,

That’s because you’re still using this code:

.entry-featured {
    display: none;
}

Please remove it and for single portfolio items you can replace the previously given code with the following code:

.single-x-portfolio .entry-featured, .single-post .entry-featured {
  display: none;
}

Hope this helps!

Is there nothing that will do it site wide instead of per portfolio item?
We will be having hundreds of portfolio items so this seems cumbersome to remember.

Hey there,

The above code will be applied site wide on all portfolio and posts items. Just add it in your Customizer and this should resolve the issue.

Let us know how this goes!

So you all helped a brother out previously…but something is causing none of the images to show in aggregate views/thumbs/searches/etc.
I’m positive it’s something I’ve either forgotten I did or maybe there’s a gremlin.
Just smart enough to be dangerous here, so would love another pair of eyes to tell me what’s probably staring me dead in the face.
Thanks in advance…
Cheers,
Rick

Links

Test Portfolio Page (going to replace the gallery Exercise library with a proper Portfolio page)

Search Results Page with generic search
https://julielohre.com/?s=fitbody

Hi there,

I can see that you added the recommended CSS, but I can still see this CSS from WP Custom CSS,

.entry-featured {
    display: none;
}

You should replace it with the recommended CSS.

Thanks!