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.

Space between field and its description too big

  1. mgannon37
    Member

    Hello,

    What a great plugin! You guys really have a first rate product, a delight to use. I’d recommend it to anyone who is seriously interested in building good robust forms in WordPress. We purchased it a couple of weeks ago and it has done everything (except front-end editing) that we had hoped. And by using the post fields with content templates we’ve managed to work around that.

    The site is for a group of physicians and includes a Case Report form. The form works find, the post is being created. But I can’t figure out how to make the space between a field and its description smaller. We end up having fields (especially address fields) whose descriptions are so far away from the field that the form becomes confusing. Can you please tell me what I’m doing incorrectly or how I can fix this? As well as make a label of a particular field (gender, age) appear on the left instead of top?

    Thanks!

    Posted 13 years ago on Sunday August 21, 2011 | Permalink
  2. Line 687 of your themes stylesheet adds a 24px bottom margin to any input. That's the source of your extra spacing.

    [css]
    .entry-content input {
        margin: 0 0 24px;
    }

    You can add this to the end of your stylesheet and it should override that for your forms

    [css]
    .entry-content .gform_wrapper input {
        margin-bottom: 0;
    }

    screenshot: http://bit.ly/nWt6f2

    Posted 13 years ago on Sunday August 21, 2011 | Permalink
  3. mgannon37
    Member

    That did the trick!
    What an amazingly quick service response, and on a Sunday. Impressive.

    Thank you very much for your help.

    Posted 13 years ago on Sunday August 21, 2011 | Permalink
  4. Wonderful. You're very welcome. I'm happy I could help out.

    Posted 13 years ago on Sunday August 21, 2011 | Permalink

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