我在 PrimeFaces 中的面板网格始终是白色背景,但我找不到必须更改的内容,因为我尝试使用 a styleClass,修改ui-panelgridclass 的 CSS 代码,使用style内部标签p:panelGrid,p:row或p:column. 没有任何效果。
试过:
p:column style="background-color: transparent !important;"
或者
.ui-panelgrid, .ui-panelgrid td { background-color: transparent !important; }
截屏:
