Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save edocampo123/2fa2c1911bc8a7afae65292a55fa5f49 to your computer and use it in GitHub Desktop.
Save edocampo123/2fa2c1911bc8a7afae65292a55fa5f49 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); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment