How to override stylesheets of PrimeFaces? [duplicate]
If using primefaces 2.2.1, Use the h:outputStylesheet tag and include it in h:body not in h:head to override primefaces stylesheets, same with h:outputScript. Example: <h:body> <h:outputStylesheet library=”css” name=”YOURSTYLES.css” /> <h:outputScript library=”javascript” name=”YOURSCRIPT.js” target=”head” /> </h:body> If using primefaces 3, follow this blog entry https://www.primefaces.org/resource-rendering/