I want to change the position of Growl but I apply it in CSS and in the time does not change anything in the position when it appears on the screen, I want to center for example.
No template:
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Drogaria</title>
<h:outputStylesheet library="css" name="estilos.css" />
</h:head>
<h:body>
<p:growl id="msgGlobal" life="3000" />
...
</h:body>
In css:
@CHARSET "ISO-8859-1";
.ui-growl{
left:20px;
}
No xhtml
<p:commandButton value="Gravar" actionListener="#{MBFabricante.novo}"
oncomplete="PF('dlgFabNovo').hide();"
update=":frmFabListagem:tblFabricantes :msgGlobal" />