Support

Home Forums Event Espresso Premium EE4 Event Page – Image

EE4 Event Page – Image

Posted: January 17, 2016 at 6:31 pm

Viewing 1 reply thread


Elizabeth

January 17, 2016 at 6:31 pm

How do you get rid of the huge image at the top?

https://www.masterpiecemixerssnellville.com/events/vangoghtree/


Tony

  • Support Staff

January 18, 2016 at 4:03 am

Hi there,

It looks like you’ve added some custom CSS to hide the image.

The image is actually being added by your sites theme. Event Espresso uses your sites theme to output the event details, if your theme outputs the feature image for single posts, it will also output the feature image for EE events.

To completely remove the image rather than hiding it you will need to edit your themes template files, either adding a post_type check around the feature image call:

if ( ! get_post_type() == 'espresso_events') {
//display the feature image
}

Or create a custom single-espresso_events.php template file specifically for EE events that does not include the feature image your theme is calling.

Are you comfortable with PHP and WP template files?

Viewing 1 reply thread

The support post ‘EE4 Event Page – 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