Add unique classes to each month title in span.tribe-events-list-separator-month
I’m using JS to add the name of the month as a class to the span.tribe-events-list-separator-month
The goal is to use custom graphics for the month headings instead of text. The JS I’m using is not very foolproof, and only fires when the page is finished loading. I had to hide the “next/prev events” buttons, because they reload the page with ajax, so my JS doesn’t get triggered, and the month headings then “disappear”.
If that span had a class with the month name or month number in it already, I wouldn’t need the JS, and it would work perfectly.
I imagine people could also style their months differently based on the season, etc.
Just a thought. Thanks!