<p:layout fullPage="true">
<p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true" style="background-color: red !important;" >
Header
</p:layoutUnit>
I have tried this however it only changes the border color of the unit. Please help!
How to change color of layout unit ?
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
try css with selectors and check the generated DOM via firebug/developer tools.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
Like I told in Stackoverflow, with even some more hints: https://stackoverflow.com/questions/451 ... ayout-unit
-
- Information
-
Who is online
Users browsing this forum: No registered users and 60 guests