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.

Need fields to line up into 6 columns

  1. mgerenser
    Member

    My form is available for viewing at http://richardpyznar.com/order/

    When viewed on my Mac in Safari, Firefox & Chrome, the form displays as I would expect. See screenshot at:

    http://richardpyznar.com/images/form-correct.png

    However, a friend of mine viewing the same page on Firefox on Windows sees all the form fields misaligned, as in the screenshot below:

    http://richardpyznar.com/images/form-wrong.png

    I just want all the 12 rows to line up in 6 neat columns. Now they all do have the gf_inline CSS style applied. I assume this is the culprit. Unfortunately, there doesn't seem to be a Ready Class that allows me to divide it up into six columns. But this is exactly what I need to do. Can anyone help me?

    Posted 13 years ago on Sunday October 23, 2011 | Permalink
  2. How about a workaround like setting the width of the #gform_wrapper_7 to 800px or so?

    [css]
    #gform_wrapper_7 {
    width:800px;
    }

    That should prevent there from being enough room at the end of the line for the first field of the next line from floating up to the previous line.

    I don't have IE here to check with today, but I think a fix like that would work in this case.

    I will bring it to Kevin's attention as well since he's the CSS guru and might have a more proper fix for you.

    Posted 13 years ago on Monday October 24, 2011 | Permalink
  3. mgerenser
    Member

    I can try this. Where would I change the form wrapper attribute? Thanks!

    Posted 13 years ago on Tuesday October 25, 2011 | Permalink
  4. Add those 3 lines of CSS to your theme's stylesheet, normally style.css. In your woo theme, I think they want you to use the custom.css file. Add this CSS to that file and see how it works.

    Posted 13 years ago on Tuesday October 25, 2011 | Permalink
  5. agraphics
    Member

    Is there any chance of a quick explaination of how this order form was made its exactly what i'm trying to do but can't get my columns (5 - code description qty price total) to line up. I managed to get the 3 columns but can't get any further. Thanks

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  6. Can you post a link to your form.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  7. agraphics
    Member

    Yes link is : http://avonbray.com/?page_id=82

    I've actually manged to get the fields lined up, however i don't know how to put the heading at the top of the columns. atm i have the writing inside the fields which i'd rather not have.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  8. Do your fields have labels and are you setting a default value in each of your inputs? Or is something external placing the labels in your inputs?

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  9. agraphics
    Member

    i found a post somewhere in here that said to take out the field label and put in the admin label. nothing external. i want to remove the default value which is why i'm asking about putting the field names at the top of the columns like on mgerenser form in the first post on this page.

    thanks for help

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  10. Can you export your form and send the XML file to me to rob@rocketgenius.com so I can see how you have this setup and try to see what I can offer. Please reference this post in your email.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  11. What did you do to make 5 columns?

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  12. Looks like each field is just using the gf_inline ready class and a combination of the "small" and "medium" field sizes.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  13. agraphics
    Member

    Yes that's right, a bit messy i know, thank god my theme is a fixed width on the content so all the boxes stay in their columns. Have sent email, thanks.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink
  14. I think you have two options here.

    First one would be to place labels on the first "row" of fields.
    Second option would be to use an HTML field and try to line up text above the first row of fields.

    Posted 12 years ago on Thursday May 10, 2012 | Permalink