I am using primefaces(3.0) scheduler component.
http://www.primefaces.org/showcase-labs/ui/schedule.jsf
As we can see here there there are some events create
In Primefaces 7.0 the CSS selector needs to be different. You should use .fc-bg
.fc-bg
Work with the follow CSS code:
.specialEvent .fc-bg { background-color: red; border-color: red; color: white; opacity: 1; }
Setting the style from the javacode stays the same