Skip to content

Instantly share code, notes, and snippets.

@edocampo123
edocampo123 / Contact Form 7: validation.css
Created May 29, 2018 02:23 — forked from landru247/Contact Form 7: validation.css
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); }