Change the color of primefaces Scheduler Event

后端 未结 6 1586
温柔的废话
温柔的废话 2020-12-15 14:08

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

6条回答
  •  不思量自难忘°
    2020-12-15 14:48

    In Primefaces 7.0 the CSS selector needs to be different. You should use .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

提交回复
热议问题