localendar Forums Homepage

Print at Jul 9, 2025, 2:14:56 PM View all posts in this thread on one page
Posted by karelrsousletilleul at May 19, 2019, 8:29:14 AM
how to change the color of the categorie WHEN the calendar is 'YEAR'
Please I'm new,
can you help me changing color of 'Booked=verhuurd' red and 'Open=beschikbaar' green..

now all categories has color 'orange' .. this is not what I want

Thanks
to help me
Karel

please look to my picture

Posted by support at May 22, 2019, 2:01:30 PM
Re: how to change the color of the categorie WHEN the calendar is 'YEAR'
For the year view, the color of the Day is set depending on if the day has events or not. It is not decided by the category of the event (because there could be multiple events on that day - which one to chose?)

However, I think you can get to what you want - assuming all your events are "All Day"

Under Options->Colors, set the background color of your weekdays (and weekends if desired) to Green.

In your CSS, change .localendar-hasEvents to background:red.

Days with no events will now be green, and days with an event will be in red.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us