PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Twitter Bootstrap Classes to Gravity Forms via jQuery?

  1. Gaslight
    Member

    I'm using Twitter Bootstrap for many of my themes these days. I was wondering if it's possible to assign more classes to Gravity Forms to match those formatted with Bootstrap LESS/CSS files.

    So far I've found this solution, but it's not working for me:

    http://hypedtext.com/post/34295947468/add-twitter-bootstrap-classes-to-gravity-forms

    Posted 11 years ago on Tuesday February 12, 2013 | Permalink
  2. Can you explain why it's not working for you, and can you share the URL to a page on your site where you have a form embedded and it's not working for you?

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  3. Gaslight
    Member

    mmm it's on a development server and it requires passwords to see it

    UPDATE: I had it working by adding that code to my theme js file rather than adding the script to my wp_head manually

    Anyway, is there any alternative method to achieve the same thing server side via php?

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  4. Is there a server side way to achieve what? I don't follow what you mean.

    Posted 11 years ago on Sunday February 17, 2013 | Permalink
  5. nicomollet
    Member

    You can also use LESS/CSS method by Ben Word http://benword.com/style-gravity-forms-with-bootstrap/

    Posted 11 years ago on Monday March 4, 2013 | Permalink
  6. Thank you for posting that. Very interesting.

    Posted 11 years ago on Wednesday March 6, 2013 | Permalink

This topic has been resolved and has been closed to new replies.