<p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true" style="background-color: red !important;" >
Header
</p:layoutUnit>
So after trying this only the border of the layout unit becomes colored. I need the entire unit to be colored.