Bootstrap Styles for Gravity Forms WordPress Plugin
October 2, 2014development wordpress
Everyone loves Gravity Forms and everyone loves Bootstrap. But they don't look too good when combined. So I set out to find a nice way to combine the two. After some Googling around I came across Devin Walker's gist to apply Bootstrap styles to Gravity Forms. After a few tweaks using that I decided to package it up in to a WordPress plugin. To accomplish this I modified Devin's CSS and then properly enqueue the style into the WordPress theme with the plugin. Pretty straightforward.
- Install and enable the plugin via Dashboard or download
- In Gravity Forms Settings, turn off "Output CSS"
- In Gravity Forms Settings, turn on "Output HTML5"
- Done! Have a beer.