Created
May 20, 2013 01:46
-
-
Save malachi358/5609942 to your computer and use it in GitHub Desktop.
Adding Classes to Gravity Forms plugin for WP,
You can add this code in Dashboard -> your theme -> Custom Javascript to make the gravity forms pick up the theme styling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function(){ | |
jQuery('input[type="text"]').addClass('textfield'); | |
jQuery('input[type="submit"]').addClass('fancy_button'); | |
jQuery('textarea').addClass('textarea'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment