what the version you use? My own Class defined in the same way applies normall.
I'm using 3.0.1. Everything but the background-color applies to the header, but no matter what I do I can't get the header to change color.
Seems it will be better to send me your page directly and describe the precise JSF environment for reproduce.
I'll post the answer here
inside the style class