Hey @Dwayne,
I’m really sorry for the delayed reply here! Especially for the fact that I have to bear some bad news within it. I’ve tried numerous custom coding attempts to try and pull this off, but unfortunately it does not work consistently.
The best solution I’ve been able to assemble is this one:
add_filter( 'body_class', 'tribe_events_past_events_body_class' );
function tribe_events_past_events_body_class( $classes ) {
global $wp_query;
$event_date = get_query_var( 'eventDate' );
if ( isset( $event_date ) ) {
$this_month = current_time( 'Y-m' );
$is_past = strtotime( $event_date ) < strtotime( $this_month );
if ( $is_past ) {
$classes[] = 'tribe-is-past';
}
}
return $classes;
}
Try pasting that into your theme’s functions.php file – this will add a class name to the site body tag of tribe-is-past, so you could then write CSS like this:
body.tribe-is-past {
// custom styles when viewing events in the past
}
I hope that this is helpful! Please let me know if so, and if there’s anything else I can help with.
Thank you!
George