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.

Form Spacing issue with default TwentyTen theme

  1. I am using the default WordPress TwentyTen theme and something is faulty with the spacing in my forms - there appears to be extra line breaks in the form and I'm not sure how to get rid of them.

    I've loaded a form on http://lifecoach-pro.com/pre-coaching-session-form/ - it's not serious except for the GF Name and Time fields (and the first multichoice field). Am sure it's a relatively simple theme CSS fix but I have no idea what to change! Thanks

    Posted 13 years ago on Tuesday July 19, 2011 | Permalink
  2. I haven't seen this in twenty-ten before and we've had tons of people using it for some time. Strange indeed.

    There is a blanket 24px bottom margin being applied to all inputs inside the "entry-content" div and that's causing your problem.

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

    You should be able to override that easily enough by adding this to the end of your theme stylesheet

    [css]
    body .entry-content .gform_wrapper input {
    	margin-bottom:0!important;
    }
    Posted 13 years ago on Tuesday July 19, 2011 | Permalink
  3. That worked perfectly - thanks very much Kevin!

    Posted 13 years ago on Tuesday July 19, 2011 | Permalink
  4. My pleasure. Nice looking "likert-style" fields in that form there too ;)

    Posted 13 years ago on Tuesday July 19, 2011 | Permalink

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