gravity-forms-snippets
gravity-forms-snippets copied to clipboard
Applies bootstrap classes to various fields.
Gravity Forms Snippets
A growing repository with simple functions to improve integration of Gravity Forms with WordPress themes.
gravity-forms-bootstrap3-styles.php
- Applies Bootstrap 3 classes to most common fields.
- Requires Bootstrap 3 to be in use by the theme.
- Using this function allows use of Gravity Forms default CSS in conjuction with Bootstrap (benefit for fields types such as Address).
gravity-forms-bootstrap4-styles.php
- Applies Bootstrap 4 classes to all fields.
- Requires Bootstrap 4 to be in use by the theme.
- Using this function allows use of Gravity Forms default CSS in conjuction with Bootstrap (benefit for fields types such as Address).