I wanted to add a class like ".today-date" to the weekView Table Header in fullCalendar. Because I wanted to highlight the Today Date Header with a background-color, like the td row is highlighted.
The cell Content of the weekView already have a class ".fc-today .fc-state-highlight".
I try with dayRender function from fullcalendar, but my Javascript understanding is a bit to low... I hope someone can help the noob ;)
My Html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://momentjs.com/downloads/moment.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/2.3.1/fullcalendar.js"></script>
<div id="calendar"></div>
My Javascript
$(document).ready(function() {
$("#calendar").fullCalendar({
defaultView: "basicWeek",
});
});
My Pen: codepen.io