Remove all styling from Primefaces components?

后端 未结 4 2112
野趣味
野趣味 2020-12-03 20:47

Is it possible to remove all styling from Primefaces components? I mean, the component set is good but having to manually override every tiny bit of each component to make t

4条回答
  •  无人及你
    2020-12-03 21:28

    Set primefaces.THEME context parameter to none and you'll get a functional ui with no styles.

    
        primefaces.THEME
        none
    
    

    You don't need to spend hours editing styles. Styling of PrimeFaces is done via shared styles like ui-widget-header, ui-widget-content which you can customize via the themeroller web form. I don't think JSF and theming can get any easier than PrimeFaces.

提交回复
热议问题