Skip to content

Instantly share code, notes, and snippets.

@landru247
Created April 2, 2014 16:55
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save landru247/9938240 to your computer and use it in GitHub Desktop.
Save landru247/9938240 to your computer and use it in GitHub Desktop.
Contact Form 7: validation - removes the error/success message and removes the default field validation and replaces with colored fields
div.wpcf7-response-output, div.wpcf7-validation-errors { display: none !important; }
span.wpcf7-not-valid-tip { display: none; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: red; background-color: rgba(153,0,0,0.3); }
@saigonosenpai
Copy link

Works perfectly thanks <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment