Hi there, I’d like to color code the event header banners on the event listing page with a different color for each category: http://yogasurfingretreats.com/wptest/wordpress/event-registration/ I know this has been addressed for the calendar, so wondering if there’s a similar way to customize the headers on the event listing page? Cheers, Ingrid
Read more: Event List Header Category Colour
This topic was modified 12 years, 4 months ago by Seth Shoultes. Reason: Moving to correct forum
It’s possible. In order to get the needed category classname CSS “hooks”, you’d set up the event list page like this:
[EVENT_ESPRESSO_CATEGORY event_category_id=”first-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”second-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”third-category”]
Then add something like this CSS to the theme’s stylesheet or other location where you place custom CSS:
If I use [ESPRESSO_EVENTS] for events-registration page. It will auto sort by date but not auto colour for banner.
If we use
[[EVENT_ESPRESSO_CATEGORY event_category_id=”first-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”second-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”third-category”]
It will create colours for the categories but list the events by category, not by date.
??
Is there any way to colour code the banners AND sort by date?
Viewing 4 reply threads
The support post ‘Event List Header banner – Category Colour’ 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.