Skip to content

Instantly share code, notes, and snippets.

@kennyeliason kennyeliason/_gravityforms.scss Secret
Last active May 31, 2018

Embed
What would you like to do?
Gravity Forms Styling for Bootstrap
.gform_fields {
@extend .list-unstyled;
@extend .row;
input,
select,
textarea {
@extend .form-control;
}
textarea {
height: auto;
}
}
.gfield_description {
@extend .alert;
}
.validation_error {
@extend .alert;
@extend .alert-danger;
}
.validation_message {
@extend .alert;
@extend .alert-success;
}
.gform_button {
@extend .btn;
}
.gfield_required {
color: $danger;
}
.gform_wrapper ul.gfield_radio li,
.gform_wrapper ul.gfield_checkbox li {
@extend .form-check;
}
.gform_validation_container {
display: none;
}
.gfield_error .ginput_container {
margin-bottom: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.