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.

Spacing and formatting

  1. Hi, I have looked up previous post on this topic and tried to fix them with examples provided, but nothing seems to change. My site is http://www.aaron-choi.com/contact/
    and I am trying to get rid of the space between the field and its name.
    And can you please see why the zip code field is to the right instead of being on the left?
    Thank you for all your assistance.

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  2. If by "its name" you're talking about the sub-labels beneath the fields then that's coming from a margin value in your theme. It's setting a blanket 10px bottom margin on all inputs, textareas, etc. That's also causing your zip code to align improperly to the right of the form. It's "hanging" on the invisible element border to the left.

    You can add this to the end of your custom CSS file and it should correct both problems.

    [css]
    body .gform_wrapper input,
    body .gform_wrapper textarea,
    body .gform_wrapper select {
    	margin:0
    }

    screenshot: http://bit.ly/p9F8Z6

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  3. W.O.W.
    Thank you for your prompt response. That did it. Thank you so much.
    however, I have just one more question on the field length.
    on my other form - http://www.aaron-choi.com/rsvp/
    I was able to change the length of the field and shorten it, but the email field

    .gform_wrapper #input_2_2 { width: 600px; }

    it does not seem to change the length at all no matter what I put.
    Thank you again for your help.

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  4. I would reduce the size of the parent container for both fields rather than trying to style each individual email field. The reason is that they are set as percentages of the parent width so resizing the parent would effectively reduce the width of the children.

    Either way, you could use more specific CSS to override the default width, or simply use the !important declaration to overcome it.

    [css]
    body .gform_wrapper input#input_2_2 {
        width: 300px!important;
    }

    screenshot: http://bit.ly/newD7W

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  5. Thank you for your help again.
    However, as you can see on your screenshot, this leaves gap between the email field and confirm email field.
    Any solution to this?
    I really appreciate your help.
    Thank you.
    http://www.aaron-choi.com/rsvp/

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  6. Yes, like I said earlier. Resize the parent list item and the fields will adjust accordingly. Remove the other styles you've added and add this instead.

    [css]
    body .gform_wrapper li#field_2_2 {
        width: 50%;
    }

    screenshot: http://bit.ly/nhp16e

    Posted 13 years ago on Wednesday August 10, 2011 | Permalink
  7. Thank you so much for all your help and your professionalism.
    Thank you.

    Posted 13 years ago on Thursday August 11, 2011 | Permalink
  8. My pleasure. If you need anything else please let us know.

    Posted 13 years ago on Thursday August 11, 2011 | Permalink

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