Background Color in XML

Hello,

Can you help me understand why this doesn’t change the background color of my events?

[code]

<start_date>2013-08-20 12:00</start_date>
<end_date>2013-08-20 12:30</end_date>

Loading...
#3722e5 #5be516 [/code]

I thought the color tag passed in would change the background color from your documentation. We have the latest version of scheduler installed. The text color works correctly. Thank you.

Upon closer inspection of the resulting code in Chrome, the

does not have any background color styling. But the child divs all have style=“background:#5be516” (classes: dhx_event_move dhx_header, dhx_event_move dhx_title, dhx_body, and dhx_event_resize dhx_footer). Because there’s no color on the dhx_cal_event div, the event loads in the default light blue color and the custom color gets overwritten.

Okay, finally figured out what’s going on. The divs are missing ‘!important’ in the background style so it’s not overriding the light blue color. I fiddled with it in chrome console and got it to work. So how can I force the !important flag to be applied with my custom color? Thanks.

The same xml correctly colors the event in the local sample.
Which version of scheduler you are using and which skin ?

After your response I searched the code thoroughly and found we had custom colored the box to a light blue in an earlier version through CSS. We grew accustomed to the light blue even after upgrades to 3.5, 3.6, and 3.7. We thought it was the default. After removing that CSS, it worked correctly in 4.0. Thanks!