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.

How do I change the width of the state field?

  1. I want to change the size of the state field on my form, but I can't seem to over-ride the css. I'm placing the following code at the bottom of my theme's css file, but it does nothing. Can someone help??

    [css]
    #input_11_16.4 input {
    background-color: #FF0000 !important;
    width: 25px;
    }

    Thanks!

    Posted 12 years ago on Friday August 12, 2011 | Permalink
  2. You can try this out instead.. it should work fine. You didn't include a URL to your form page so I couldn't test and tell you for sure.

    [css]
    body .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex span#input_11_16_4_container select {
    	background-color:#f00;
    	width:25px;
    }
    Posted 12 years ago on Saturday August 13, 2011 | Permalink