The events over several days, are always displayed on a blue background.
While an event on a single day, will show on bright yellow background.
Is it possible to mitigate these colors, or change it ?

I am not talking about colors based on the taxonomy, it works.
I'm talking about the background of each event, single-day and/or multi-days.

I tried with another module, this time : calendar_event, but it's the same thing.
The multi-days are always on blue background.
The only difference with calendar_event would be to change the background from the values with one of the three concepts : "approved - denied - pending"
See -> Configuration -> Date API -> Event Color -> Set Color of events.
But this has absolutely nothing to do with the duration of an event. And with this "solution" , there is no more distinction by color, between single-day and multi-days.

Test 1 with
drupal 7.42
calendar 7.x-3.5
7.x-2.9 Date
ctools 7.x-1.9
views 7.x-3.13
--------------------
Test 2 adding
Event Calendar 7.x-1.9

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vcouver created an issue. See original summary.

vcouver’s picture

Issue summary: View changes
vcouver’s picture

Issue summary: View changes
vcouver’s picture

Issue summary: View changes
vcouver’s picture

Another problem is : you can't retrieve the initilal colors anymore ( yellow for single-day and blue for multi-days ) nor have a separate color between single-day and multi-days, if you click on on "Save Configuration" ( in Event_calendar -> Date Api -> Event Colors )
See in Test 2 B.

vcouver’s picture

Finaly found how to change the background color, when the event is on multiday.
Edit the file calendar/css/calendar_multiday.css, see lines 615 and 708. ( blue )
Changed #74a5d7 ( blue ) by #E6E6FA ( lavender)
The line 615 is for the all days of the event multi-days, and 708 for the little border at the right of the last day
I keep the #ffc (yellow ) for single-day events.

PS : It works with the Event Calendar Module too. Except if you already have changed the status.
I don't know yet, how to cancel the value of the three different colors of events based on their status : 1) approved, 2) denied, 3) pending ... to retrieve the both initial values from single-day #ffc yellow, and multi-days #74a5d7 blue. As explained , saving the statut value with the screen "Event Color", will replace those two default initial colors.

Neslee Canil Pinto’s picture

Status: Active » Closed (outdated)