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.

First and Last Name Field Width

  1. jorgeferragut
    Member

    HI - I've read several posts on how to change the width for several fields, but none has explained the First and Last name field width specifically. I tried inserting the following code into my themes' style.css, but it didn't do anything. Here's that code:

    body #gform_wrapper_1 {
    width: 640px!important
    }

    The website page is: http://coopandcondolaw.com/contact-us/

    What can I do to shorten the name width just a bit?

    Posted 12 years ago on Wednesday September 14, 2011 | Permalink
  2. Yeah, they're discussed here..

    http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples

    under advanced fields.. left and right. The basic markup is the same for the name, address, etc type of fields so it still applies.

    You can try adding this to your theme stylesheet.. a couple of tweaks specific to that form and set of fields.

    [css]
    body .gform_wrapper div#input_1_2.ginput_complex {
        width: 96%;
    }
    body .gform_wrapper div#input_1_2.ginput_complex span.ginput_right input {
        width: 94% !important;
    }

    screenshot: http://bit.ly/o25X4s

    Posted 12 years ago on Thursday September 15, 2011 | Permalink
  3. jorgeferragut
    Member

    Great... that did it. Thanks!... I couldn't quite follow the documentation. I appreciate it!

    Posted 12 years ago on Thursday September 15, 2011 | Permalink
  4. No worries. Glad I could help out.

    Posted 12 years ago on Thursday September 15, 2011 | Permalink

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