'Remove 'today highlight' from fullCalendar
I'm using FullCalendar 3.8.2 by FullCalendar LLC and I'm instanciating it like so:
$("#calendar-schedules").fullCalendar({
'themeSystem' :'bootstrap3',
'height' :426
});
I'm trying to remove the highlighting of the current date (not the 'Today' button)
I tried adding the 'now' parameter to false, but then I get error of moment.js saying
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info
Solution 1:[1]
You can just change the CSS so that the background colour of the "fc-today" class - which is used on the current date to highlight it - is the same as the default background colour.
Add this CSS somewhere in your page (probably better than overriding it in the fullCalendar CSS file, in case you upgrade the version and forget you made a customisation):
.fc-today
{
background-color:inherit !important;
}
See http://jsfiddle.net/Lfm1odm1/8/ for a demo.
Solution 2:[2]
In V5 of FullCalendar this worked for me.
.fc-day-today {
background-color: inherit !important;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ADyson |
| Solution 2 | Brit Gwaltney |

