Archived topic
Disable featured image for custom post type not work
4 replies · Started by Kelvin on February 19, 2022
Dear Sir/Madam,
I read article from https://generatepress.com/forums/topic/remove-featured-image-on-custom-post-type/#post-337093,
.single-firma .page-header-image-single {
display: none;
}
above CSS work but is it still the only solution? I use the Toolset Content Template, I tried to disable the featured image from the GeneratePress's Disable Element section but doesn't work.
Hi there,
can you share a link to the page where i can see this ?
Dear David,
You can refer to site I placed in private information, I do also change the featured image from Disable Elements as Enable.
Dear David,
I captured the screenshot for your reference. I you need to access the site, please do so.
You should be able to use the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
On the Disable Elements Tab you can check the Featured Image.
Then in the Display Rules > Locations select your Firma post type.