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 description/sub label

  1. hazu
    Member

    How can I make the space between the fields and the sub-labels/description (like First, Last, Street etc) smaller in this form:

    http://www.cemarking.net/order-the-meddev-ki/

    Posted 12 years ago on Saturday March 10, 2012 | Permalink
  2. You have a global selector for inputs here in your stylesheet:

    [css]
    input, textarea {
    border-color: #CCC #EFEFEF #EFEFEF #CCC;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10px;
    padding: 5px;
    }

    The margin-bottom there is the cause, so try dropping this into your theme's stylesheet:

    [css]
    .gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] {
    margin-bottom: 0;
    }
    Posted 12 years ago on Saturday March 10, 2012 | Permalink