How to set background color for current day in Calendar?

How can I set a background color for the current day, similar to the demo example at FullCalendar?

My current settings:

And my current calendar, without different background color for the current day:

Something I am missing?

Hello!, could you try this?


td.fc-daygrid-day.fc-day.fc-day-today {
  background: {{ calendar1.viewType == "month" ? "red" : "" }}; // ensures that the background is only applied when view type is "month", otherwise it will be applied in all view types (week, day & list)


@OOSC3 , thanks a lot, that solved my issue :slight_smile:

1 Like