So I am trying to change the styling on the error messages that i get through the element, but for some reason the css isn't applied.
This is an example of a message I'm trying to change:
<p:inputText type="text" class="form-control" id="emailInput" value="#{signupBackingBean.email}" required="true" requiredMessage="This field is required" ></p:inputText>
<p:message for="emailInput" id="emailError" display="text" styleClass="message"></p:message>
and this is the CSS Im trying to apply:
.ui-message-info, .ui-message-error, .ui-message-warn, .ui-message-fatal {
font-size: 5px;
}
Thanks in advance!