[Integrity] Removing Featured Image on Post page, but not on Post List and Home page

Hi,

I have a website running on X 7.2.3 without issue with the Integrity stack.
All of my post have a Featured Image. I’d like it displayed on my home page and post list page, but not on the detailled post view.
I found some threads from 2018 with CSS snippets to use, but none worked :(.
For now, I managed to remove the picture from the detailled post view, and keep it in the front page, but it is not displayed in the post list page. Is there a way to work around it?

Here’s the CSS I use:

.x-container .x-main.full .post .entry-featured .entry-thumb img{
display:none;
}

Thank you!

Hi @Lamiabrawne,

Thanks for reaching out.
The code you have written is making the featured image invisible in posts and post details page, please remove that code and add the following custom CSS code in place.

.single-post .x-container .x-main.full .post .entry-featured .entry-thumb img
{
    display:none;
}

Remember that the above code will work if copied as it is and don’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.

Thanks

Hi @tristup,

Thank you so much for your quick answer and help! Your CSS works flawlessly, I’m so happy

Have a nice end of the year and best wishes for 2021
Best,

Thanks, @Lamiabrawne! Same to you!

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