0

I work in a project with the following structure

enter image description here

I want to override the default styles primefaces with my own css.

I use in my xhtml

<f:facet name="last">
 <h:outputStylesheet library = "css" name="estilosprimefaces.css" />

 </f:facet>

Can I use the css in webContent/css or do I have to move these css to resources folder?

EDITED

<f:facet name="last">

   <link type="text/css" rel="stylesheet"       
        href="/copernico/estilos/nwrenfe.css" />

 </f:facet>

EDITED

<h:body>
 <f:facet name="last">

         <h:outputLabel for="name" value="Fecha Desde4:" />

         </f:facet>





    <div id="container">
        <div id="header">
            <ui:insert name="header">
            // header content
         </ui:insert>
        </div>

        <div id="content">
            <ui:insert name="content">
            </ui:insert>
        </div>

        <div id="footer">
            <ui:insert name="footer">
            </ui:insert>
        </div>
    </div>
</h:body>
Carlota
  • 1,239
  • 3
  • 29
  • 59

0 Answers0