This field is required CSS

Hello,

I need help to style this text “This field is required.” https://snipboard.io/6tIR2M.jpg

Hope you can help,
Olga

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 https://lilianstage.wpengine.com/

Thanks in advnace,
Olga

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. https://lilianstage.wpengine.com/

© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.