Styling a calendar event with a custom class

Hello,

I’ve created a custom calendar with a database source which is working nicely.

However, I need to apply a conditional class on certain events.

To start, I created a class “event-danger” and applied a red background/text for this:

Then, I make sure the class is applied to the Calendar source:

As far as I know, the calendar event should now have red background and text.

However, when looking at the event I get this:

Does anybody know to use a custom class to apply styling to a calendar event? Am I missing something?

Community Page
Last updated: