When adding a featured image to an event, it shows correctly on the list page, but it is cropped on the event page. How can I show 100% of the featured image on the event page?
I am using the Divi theme and already had their support look into it. They say that EE4 is cropping the image to 1024 x 538 px on the overview page and to 1080 x 630 px on the event page and because of those different values, the image doesn’t show in full.
Do you have filters or hooks that can be used to override the default cropping image size?
That’s not correct about EE setting the image sizes. They’re set in the Divi theme, or at least the copy of Divi that I have does.
The actual filters for this are in the divi theme e.g. et_pb_index_blog_image_width
and et_pb_index_blog_image_height
(found in Divi’s single.php file)
Generally custom post types use single.php if there isn’t a more specific template to use. For example, a theme would need to have a template named single-espresso_events.php, then WordPress would use that to display a single event page. You’ll find more information about how WordPress uses template files here:
The support post ‘Divi and EE4 – Featured Image’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.