Comma separated categories and css styling
-
I’m using #_EVENTCATEGORIES to style my events by category in the calendar. This is working fine for events with only a single category but fails for those with multiple categories due to the category list being returned as comma separated. Categories with a space in the name also have issues. For example this is what is currently output in the html:
<li class="Time Trial, Club Event">
Is it possible to have a placeholder that returns a space separated list of event slugs so something like the following would be returned instead:
<li class="Time-Trial, Club-Event">
Or is there an alternative method you can point me in the direction of?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Comma separated categories and css styling’ is closed to new replies.