An open API service indexing awesome lists of open source software.

https://github.com/5t3ph/gravity-forms-snippets

Applies bootstrap classes to various fields.
https://github.com/5t3ph/gravity-forms-snippets

Last synced: over 1 year ago
JSON representation

Applies bootstrap classes to various fields.

Awesome Lists containing this project

README

          

Gravity Forms Snippets
==========================

A growing repository with simple functions to improve integration of Gravity Forms with WordPress themes.

#### [gravity-forms-bootstrap3-styles.php](https://github.com/5t3ph/gravity-forms-snippets/blob/master/gravity-forms-bootstrap3-styles.php)
- Applies [Bootstrap 3 classes](http://getbootstrap.com/docs/3.3/css/#forms) 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](https://github.com/5t3ph/gravity-forms-snippets/blob/master/gravity-forms-bootstrap4-styles.php)
- Applies [Bootstrap 4 classes](https://getbootstrap.com/docs/4.0/components/forms/#form-controls) 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).