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.

How to Place gravity forms into theme columns?

  1. luxerman
    Member

    I am upgrading my contact forms from contact7 to gravity forms... However I am facing an issue when it comes to column placement.

    My theme uses the following two codes for 2 columns:

    <div class="one_half"></div> & <div class="one_half last"></div>

    I am placing an HTML block of

    <div class="one_half">
    field
    field
    field
    </div>
    <div class="one_half last">
    field
    field
    </div>

    But it's not appearing the way I want it to... am I doing something wrong?

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  2. David Peralty

    Can you please link to your form so we can see things?

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  3. luxerman
    Member

    I am using the following code within the css class option: gf_left_half & gf_right_half which works; however this does not work with the "responsiveness" of the theme since they aren't placed within the themes columns.

    I cannot post the link of the site but it's using the following theme:
    http://wpadaptive.com/nexus/shortcodes/columns/

    I need to figure out a way to add the code into the themes responsive layout shortcodes...

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  4. David Peralty

    Without being able to see your specific form, it is hard to troubleshoot the issue and help you. From what you've shown, it sounds like you are doing everything fine.

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  5. luxerman
    Member

    Looks like the HTML field is automatically placing the </div> at the end... which is causing it not to place the fields within the column.

    http://img39.imageshack.us/img39/6447/gravityf.png

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  6. David Peralty

    You can e-mail me at peralty@rocketgenius.com

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  7. luxerman
    Member

    Email sent, thank you

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  8. David Peralty

    I've responded. You have to take into consideration the list items that are created when a form field is added, and should do more HTML in a single field rather than splitting it up. If you compensate for the unordered list, you should be able to get your div classes to work the way you want.

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink