How do I override default PrimeFaces CSS with custom styles?
问题 I've created my own theme as a separate Maven project, and it is loaded correctly. Now I want to change the size of an component. For example, a <p:orderList>. It has a class called ui-orderlist-list which is defined in primefaces.css with a fixed 200x200 dimension. No matter what I do in my theme.css , it is overwritten by this attribute and there is no way I can make the content part of a <p:orderList> wider. For other components I might want to override just one instance of a component,