Hi, I’ve found a few posts involving the same request but these must have been for EE3 as the CSS solution to just hide the event times isn’t possible for me on EE4. The event date (which I want to keep displayed) and times aren’t separated out into different elements, as below:
<li id=”ee-event-datetimes-li-1″ class=”ee-event-datetimes-li”>Event<br><span class=”dashicons dashicons-calendar”></span>15th January 2015 – 17th January 2015<br><span class=”dashicons dashicons-clock”></span>9:00 am – 5:00 pm
How would you advise I achieve this? Can I just override the template file?
Hi Lorenzo, if you look at the markup I posted though, that won’t have the effect I’m looking for, as that class isn’t used. In the markup I posted, which is what’s on the event detail page, both the event date and time are in the same
element, with nothing to distinguish them. So would this not require a template modification?
The issue is that your code just hides all of it, the event date and the event times. I only want to hide the times. That’s why I posted the snippet of markup, so you can see that it’s not possible to target just the times with CSS.
The support post ‘EE4 – remove event times from event detail 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.
Support forum for Event Espresso 3 and Event Espresso 4.