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.

Side by side fields

  1. What is the proper way to get the fields to line up in two columns. I added the css ( gf_left_half and gf_right_half to the fields), but they dont line up properly.
    You can see in the link below.

    http://184.154.144.104/~primo/contact/

    Posted 12 years ago on Friday November 2, 2012 | Permalink
  2. Not a form or CSS Ready Class issue.. it's your theme styles. Your theme's style.css file (line 58) applies a blanket 30px left margin to all list items in the "article" container..

    [css]
    article li {
        margin: 10px 0 0 30px;
    }

    if you disable that, you'll see the alignment is correct

    screenshot: http://grab.by/hdXE

    the reason the alignment is off using the Ready Classes is that the elements are floated and don't respond to margin rules. You can either disable that rule or try overriding it for your forms with something like this added to the end of your theme stylesheet. This will remove the margin from the list item, but apply it to the form wrapper itself to keep the overall layout in your form page.

    [css]
    article .gform_wrapper li.gfield {
        margin: 10px 0 0 0;
    }
    article .gform_wrapper {
    	margin:0 20px 0 30px
    }

    test screenshot: http://grab.by/hdXS

    Have fun.

    Posted 12 years ago on Friday November 2, 2012 | Permalink
  3. Thanks Kevin!
    sorry for the trouble.

    Posted 12 years ago on Friday November 2, 2012 | Permalink
  4. No trouble at all. We're here to help. Let us know if you need anything else.

    Posted 12 years ago on Friday November 2, 2012 | Permalink

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