By skullmonkey on Thursday, 09 March 2023
Replies 2
Likes 0
Views 534
Votes 0
Hi,
is there a way to hide (or add display: none;) class to a field once the event has passed?
I use custom styling of the events.

Thanks,
S@
A specific field within the event?

There is a custom layout field output you can use

{{Show Past or Future:PAST_OR_FUTURE}}


It will add the text ' past' or ' future' to the event detail or list view output so you can use that as a class name to hide your field
·
Friday, 17 March 2023 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Worked like charm! Tnx!

Cheers!
·
Monday, 20 March 2023 15:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post