Support

Home Forums Event Espresso Premium Reducing the size for an event post featured image

Reducing the size for an event post featured image

Posted: September 1, 2019 at 1:16 pm


Matrixparents

September 1, 2019 at 1:16 pm

Hello – The featured image size will not go down in size when it posts. I chose insert as a thumbnail but it still blows the image up and makes it take up a lot of space (plus makes the image blurry). In EE3 the post images were small and several posts fit nicely on the screen. Please advise.You can view the post here:
https://www.matrixparents.org/events/abogando-por-su-estudiante-con-necesidades-especiales-11/

thanks
Angela


Tony

  • Support Staff

September 2, 2019 at 3:49 am

Hi Angela,

In EE4 the events are custom post types which means your theme has a lot more control than with EE3 (EE3 events are not custom post types).

Multiple sizes are loading on the page (which is to be expected) but if you are uploading a small image it will display that as it’s the largest and theres styles in the theme’s styles to load the image with 100% width:

https://monosnap.com/file/8kVdYjCdBANWrQeh4weWZC3ibGMUgb

You can use some additional styling to prevent the image from stretching, like so:

.single-espresso_events .c-entry-featured-image img {
    width: auto;
}

However, thats not going to load at 150 by 150 (thumbnail) if that is the size you want to actually use?

The support post ‘Reducing the size for an event post 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.

Event Espresso