I was able to remove the price from the event list with this code
/* hide the event price in the event list */ p.event_price {display:none;}
However I’m having trouble removing the Date in the events list. Does anyone have the code to do this? I’ve tried all kinds of variations similar to the above code replacing price with date. No luck though
The date is slightly problematic in that it uses a unique ID rather than a catch all class, so using CSS you would have to target them individually which wont work in the long run. I will raise a ticket to add something in for that in future versions.
In the meantime there are two ways to get around it.
1) You mention you don’t want the prices either so you could target the event-meta class and hide that
.event-meta { display:none; }
2) You can edit the event_list_display.php template file and remove the date section. Around line 75 you will see
simply remove or comment this out. If you change it this way, I would copy the event_list_display.php and the event_list.php files over to the uploads/espresso/templates folder and edit the file there.
Viewing 1 reply thread
The support post ‘How do I remove the date field from my event listing 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.