Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VincentLoy/67f1e18accaf17238f85c1514cc15132 to your computer and use it in GitHub Desktop.
Save VincentLoy/67f1e18accaf17238f85c1514cc15132 to your computer and use it in GitHub Desktop.
SCSS Snippet for Contact Form 7 Alerts
div.wpcf7-response-output {
@extend .alert;
}
div.wpcf7-mail-sent-ok {
@extend .alert-success;
}
div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
@extend .alert-warning;
}
div.wpcf7-spam-blocked {
@extend .alert-warning;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
@extend .alert-danger;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment