Created
December 7, 2021 21:31
-
-
Save jprieton/be8d09a0a83db99c9e17141a5b80bfba to your computer and use it in GitHub Desktop.
Contact Form 7 response output with Bootstrap styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wpcf7 form .wpcf7-response-output { | |
color: #004085; | |
background-color: #cce5ff; | |
border-color: #b8daff; | |
border-radius: 4px; | |
padding: 10px 20px; | |
border-width: 1px; | |
margin-left: 0; | |
margin-right: 0; | |
margin-bottom: 0; | |
} | |
.wpcf7 form.invalid .wpcf7-response-output, | |
.wpcf7 form.unaccepted .wpcf7-response-output, | |
.wpcf7 form.payment-required .wpcf7-response-output { | |
color: #856404; | |
border-color: #ffeeba; | |
background-color: #fff3cd; | |
} | |
.wpcf7 form.failed .wpcf7-response-output, | |
.wpcf7 form.aborted .wpcf7-response-output { | |
color: #721c24; | |
background-color: #f8d7da; | |
border-color: #f5c6cb; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment