Hi, I want to have the same event view in basicweek as in agendaweek. (Darker headline contains the event from and event to time) and then a light-blue contains the information. Where can I cusomize this style?
Greetings Alexander
Hi, I want to have the same event view in basicweek as in agendaweek. (Darker headline contains the event from and event to time) and then a light-blue contains the information. Where can I cusomize this style?
Greetings Alexander
To get the two level color you would need a few additional steps. You have to modify the fullcalendar.js script in one place.
The fullcalendar removes all HTML so you would have to modify line ~3900 and add the following:
    return s.replace(/&/g, '&')
    .replace(/</g, '<')
    .replace(/>/g, '>')
    .replace(/'/g, ''')
    .replace(/"/g, '"')
    .replace(/\n/g, '<br />')
    .replace(/<div>/g, '<div>')
    .replace(/<\/div>/g, '</div>');
And then the formating for the title would be:
event: 'upper half <div> lower half </div>'
and in the style add a new style for the new div
.holiday div { background-color: black; }