Single Events Page – add class for past events?
-
Is there a way to add a class to a container or the body tag so that I can target events that have expired?
For example, I’m planning on adding an image to all single events pages but want to hide it on events that have already occurred. (And keep in mind that I don’t want to delete my past events.)
I would like to implement css statements such as:
.past-event img.xyz { display: none; }How can I implement ‘past-event’ class or id?
Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Single Events Page – add class for past events?’ is closed to new replies.