i need sundays to highlight in red.
I know that there is a class called ui-datepicker-week-end
.
My problem is, that the other classes (ui-widget-content
and ui-state-default
) overwrite the red color of ui-datepicker-week-end
, even if set !important
.
The only thing that is colored are the weekend days in the headline of the calendar.
You can style the anchors that are descendants of the
.ui-datepicker-week-end
elements, and set theirbackground-image
property tonone
when adding the background color. This gives good results without you having to use!important
:EDIT: If you want to set the
color
property instead ofbackground-color
, you will indeed have to use!important
:You can see the results in this fiddle.
Easy way
sunday color red this way
monday color red this way
thuesday color red this way