Support

Home Forums Event Espresso Premium Disable Featured Image on Event Page

Disable Featured Image on Event Page

Posted: November 20, 2015 at 3:34 pm


tneumann

November 20, 2015 at 3:34 pm

This seems like it must have been asked before, but I have carefully searched and maybe I am just not seeing it.

When I create an event, I set a featured image for that event. I find the featured image to be extremely useful for display in the Grid View Template. However it rarely looks good in the individual Event Page:

http://softlitestudiossandbox.com/events/winter-wandering-yellowstone-national-park/

Therefore I have a question:

1. I would like to leave the featured image set for an event, but turn it off on the event page display. Is there a CSS setting I can put into my Child-Theme to accomplish this.

Thanks!
Tim


Lorenzo Orlando Caum

  • Support Staff

November 20, 2015 at 3:45 pm

Hi Tim,

You can do that using this CSS:

.single-espresso_events .et_post_meta_wrapper { display:none;}

You may also find this tutorial helpful:

https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/


Lorenzo


tneumann

November 20, 2015 at 3:49 pm

I was just starting to inspect the CSS trying to find that class!

Thanks very much. The tutorial link is great, helps me to understand the structure a lot better.

Thanks,
Tim


tneumann

November 20, 2015 at 4:31 pm

I wanted to offer one modification to the code you sent me, in case others search and read this topic…

I used your code as a basis for getting in the right area, and made some changes to control just the display of the Featured Image and the Meta Data…leaving the title and status button showing…

.single-espresso_events .et_post_meta_wrapper img{
display:none;
}

.single-espresso_events .et_post_meta_wrapper .post-meta{
display:none;
}

Thanks!
Tim

The support post ‘Disable Featured Image on Event Page’ 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