localendar Forums Homepage

Print at Apr 26, 2024, 10:18:44 PM View all posts in this thread on one page
Posted by M4ndy at May 18, 2017, 3:36:13 PM
Year View Colours
Hi. As a new user, I really would like to use the year view on my website.

I can change the colours for the month view easily and I would like to these colours to show on the year view, is this possible? Currently, there is no distinction between event in the year view.

Is is possible for the year view to start with the current month, rather than January?

Thanks
Mandy

Posted by support at May 22, 2017, 11:40:08 PM
Re: Year View Colours
The Year View colors are driven by the same settings you choose for the "Month Block" view under Options->Colors

The only setting you cannot chance through our color preferences editor (yet) for the Year View is the fg/bg color of dates that have events. However, this can be easily changed by adding this CSS to your calendar's Title or Footer (under Options->General)

<style>.localendar-hasEvents { background:#336699 !important;   cursor: pointer; }</style>


(replace '#336699' in the example above with the hex color code of your desired color) If you want to change the fg color too, you can use this CSS:

<style>.localendar-hasEvents {  color:#ffffff;background:#000000 !important;   cursor: pointer; }</style>

----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by M4ndy at Jun 2, 2017, 4:17:35 PM
Re: Year View Colours
Thank you for your reply.

I have chosen colours that I am happy with in the month view. When I click on the year view, all the events are orange, not my chosen colours. Am I doing something wrong?

I want to show when a holiday home is available/not available/has special offers, but all the evens in the year view are the same colour.

Posted by support at Jun 2, 2017, 8:36:31 PM
Re: Year View Colours
that is correct - all the days with events in the year view (and mini-month calendar) will have the same color.

We have discussed making that "highlight" color the same color as the event that occurs on that day. That only makes sense if there is only 1 event on that day (otherwise, which color do you pick?)

However, we have not implemented that change as yet, b/c it would be disruptive to sites that currently expect all the days (with events) to have the same color.
----------------------------------------
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