This field is required CSS


I need help to style this text “This field is required.”

Hope you can help,

Hi Olga. With anything that requires styling, such as this topic and your other, please share the link to the page on your site where we can see the form. That way we can help you with the actual CSS. Thank you.

Hi Chris,

Sorry for the delay. Here is the website staging

Thanks in advnace,

This CSS can be used to target that validation error message and container:

body #gform_wrapper_1 div.gfield_validation_message {
  border: none;
  background: inherit;
  color: black;
  font-weight: 700;
  font-family: serif;

You can add this CSS to your theme (or child theme) stylesheet or via the Appearance Customizer (Appearance > Customize > Additional CSS). Your form looked like this when I applied it to validation errors: firefox B0Rwa1mc9g.png - Droplr

Looking at your other topics now.

Hi Chris,

I applied CSS code but no changes on the fornt end.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.