Skip to content

Instantly share code, notes, and snippets.

@fearlex
Last active July 30, 2020 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fearlex/3f48eaaafbfb2e2f69d83bfa69607eea to your computer and use it in GitHub Desktop.
Save fearlex/3f48eaaafbfb2e2f69d83bfa69607eea to your computer and use it in GitHub Desktop.
Contact Form 7 - Better basic error style
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
border: 2px solid #f7e700;
background: #f7e700;
color: #1f1f1f;
margin: 20px 0 10px;
}
.wpcf7-form.sent .wpcf7-response-output {
border: 2px solid #398f14;
background: #398f14;
color: #fff;
margin: 20px 0 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment