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.

Name field white-space: nowrap

  1. Hello, I would like to set the following css which is in forms.css to default.

    [css]
    .gform_wrapper li.gf_inline div.ginput_container {
    	white-space: nowrap !important
    }
    
    I tried putting the following css in style.css but this did not make a difference.
    
    .gform_wrapper li.gf_inline div.ginput_container {
    	white-space: normal !important;
    }
    Posted 12 years ago on Tuesday March 13, 2012 | Permalink
  2. Got a link to your form by chance?

    Posted 12 years ago on Tuesday March 13, 2012 | Permalink
  3. The "gf_inline" class is an optional CSS Ready Class that you're applying to your field. It's not a default form style that you need to override. Your best bet would be to create a new class definition and then apply it instead of the "gf_inline" class. You can always copy those class rules, change the name and modify them as needed.. then place them in your theme stylesheet.

    Posted 12 years ago on Tuesday March 13, 2012 | Permalink
  4. Thanks Kevin

    I just deleted the optional CSS Ready Class and now the problem is solved.

    Ulrich

    Posted 12 years ago on Tuesday March 13, 2012 | Permalink
  5. Awesome, thanks for letting us know.

    Posted 12 years ago on Tuesday March 13, 2012 | Permalink

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