I want to change fullcalendar's selected cell css via jQuery with an !important tag, I wanna do this without specifying the element id and only the class name:
This doesn't work:
$('.fc-cell-overlay').css('height', '40px !important');
Thoughts?
UPDATE
I think this is more complicated than what I was asking. Sorry if I wasn't detailed enough. I want to do it in jQuery cos I want to dynamically change the height value of a cell in full calendar if let's say I'm doing a per 60min duration (height should be 40px) instead of a per 30min duration (height should be 20px) while disabling the dragging capability. This is a hack I found here: How to disable the drag in FullCalendar but keep the ability to click on a time slot and have the "placeholder" appointment still render.
I can't change the css as per @climbinghobo's advice since the css doesn't exist yet if you do not click the cell. Apparently full calendar doesn't have this functionality yet so I had to work around through it.