Your theme is putting the featured image above each post (an event is a custom post) and Events Manager is also putting the featured image above the event and that’s why you see the image appear twice. There may be some way to disable the featured image above posts to avoid this problem. Alternatively, you can add the following custom CSS to hide the image coming from the theme:
.theme-post-thumbnail {
display: none;
}
Most themes support automatically displaying the custom post type (CPT) on the post header; you can try to reach out to your theme provider and maybe they have the option to disable this feature.
In addition, a quick fix would be using custom CSS styling to hide the extra featured image or modify your EM formatting under Events > Settings > Formatting > Events
Thread Starter
Tina
(@sunflowermom)
The code above works for the event posts but it also removes the image from all my blog posts. That’s not what I want. I want to remove JUST the extra on the event posts.
That is actually the code that my theme support gave me so talking to them isn’t helping. I think this is something I need to do specific to the event plugin.
-
This reply was modified 1 year, 3 months ago by
Tina.
Thread Starter
Tina
(@sunflowermom)
Nevermind…I think I figured it out. This seems to work:
.em.em-item.em-item-single.size-medium .em-item-header .em-item-image img, .em.em-item.em-item-single.size-small .em-item-header .em-item-image img {
display: none;
}
I just used the inspect tool…something that has been hit or miss for me, but this time seems to have come through for me.
-
This reply was modified 1 year, 3 months ago by
Tina.
-
This reply was modified 1 year, 3 months ago by
Tina.
To remove the image only from the event posts, change the custom CSS to this:
.single-event .theme-post-thumbnail {
display: none;
}
This should work more reliably than your more complicated rule.
-
This reply was modified 1 year, 3 months ago by
joneiseman.