0
如何改變primefaces組件的樣式。 特別是背景顏色<p:layoutUnit
。如何改變primefaces組件的樣式
這是我的代碼:
<p:layout fullPage="true">
<!-- TITRE -->
<p:layoutUnit position="north" size="auto" resizable="true" closable="true" >
<ui:include src="titre.xhtml"></ui:include>
</p:layoutUnit>
<!-- CONTENT -->
<p:layoutUnit position="center" size="25%" header="Options" >
<ui:include src="titre.xhtml"></ui:include>
</ui:include>
<p:layout fullPage="true">
thx for response。我嘗試過這個。但問題只是
哦,我忘記了這一點。您還需要使用樣式:ui-layout-unit div.ui-layout-unit-content來更改顏色。如果你想對整個主題進行設計 - 在文檔中他們會描述如何使用主題滾輪進行設計。鏈接:http://primefaces.googlecode.com/files/primefaces_users_guide_3_4.pdf – bjedrzejewski
你能給我這個文檔的鏈接嗎?謝謝 –