+ Start a Discussion

Visual force Full Calendar, event color not working when we change to week/Day views

Visualforce Page fullcalendar events color not working for weeks and day display

I have visualforce page has fullcalendar, developed using following page, "http://www.codebycody.com/2013/06/create-calendar-view-in-salesforcecom.html"/ "fullcalendar.io" sites

I am able to color the events and its working for month view, I used  the following function to color the events. Its working for month.
$('div.event-personal:contains("A")').css({ 'background': '#efd1d6', 'border-color': '#eac2c8', 'text-color': '#FFFFFF' /*Red*/ });

When i change to display to week or day the color goes to default coloring. It would be great help if you guys could guide me on this.