-
cs1018
I want to show the featured image in the post preview of my blog landing page and hide it in the single posts. Right now I cannot hide it in the blog posts.
I found the documentation on how to adjust the featured image in my blog:
https://docs.generatepress.com/article/adjusting-the-featured-images/Unfortunately when I go to Customizer > Layout > Blog, I don’t see these options, it shows only wordcount and read-more label for the post preview. How can I access this menu to hide/deactivate the featured image in the blog posts?
My blog is here: https://www.regelleistung-online.de/
-
Hi there,
You need to enable the Blog module in appearance > Generatepress 🙂
-
cs1018
Thanks for the fast response. It looks like the blog module is already activated. I tried resetting the blog module to default and switched it back on, but no luck.
-
Can you provide an admin login to your site for me to check the backend?
Let me know 🙂
-
cs1018
Yes, I attached a link to he dashboard.
-
It’s because you are using a Loop template element for the blog page, so the customizer can not control it.
https://app.screencast.com/JsIn76Tt9AJSEYou need to modify the block element – loop template at appearance > elements to modify the post layout 🙂
-
cs1018
Thanks! The blog landing page looks good but if I click on one of the posts, I want to “hide featured image in post” (as per my support title ;-). If you look at my latest post https://www.regelleistung-online.de/entwicklung-der-pq-leistung-dezember-2024/ you can see that the image appears twice, once from the featured image over the title and once in the text where I embedded it. I only want it in the text where I put it. If I just delete the featured image, it does not show on my landing page with the post excerpt, wich is not intended… Any idea how to solve this? Can I edit the standard post layout to exclude the featured image?
-
Alvind
Hi there,
You can simply hide the featured image on single posts using CSS without removing it, so it still appears on post archives. To do that, add this CSS:
body.single .inside-article .featured-image { display: none; }
- You must be logged in to reply to this topic.