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.

change field label color

  1. Trying to change the color of my field labels to white in one form only, not all of my forms. is there someway to accomplish this?

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  2. Sure is, do you happen to have a link to your form?

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  3. Yes, here it is... http://h125970.temppublish.com/new/. It's a registration form located in our footer. the footer has a dark background and the field label need to be white.

    Thanks.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  4. Rob, is there also anyway i can increase the input field size for the fields in the same form, i.e. a larger box for the name field.

    Thanks, again.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  5. This should do the trick for you (place these styles into your theme's stylesheet):

    [css]
    .footer-form .gfield_label {
    color: white;
    }
    .footer-form .gform_wrapper input[type="text"], .footer-form .gform_wrapper input[type="email"] {
    height: 25px;
    }

    These selectors are only going to target the form in the footer, by using your .footer-form class that is available around it.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  6. Thanks, Rob. I'll give it a try and let you know how it turns out.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  7. Rob, The color change worked perfectly. However, if I want to change the width of the input boxes, would I just change you code to say

    {
    width: ??px;
    }

    Instead of

    {
    height: 25px;
    }

    Thanks again,
    John

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  8. John, yes that should work. However, what could be easier is just to switch the field size in the form builder to "Large" instead of "Medium".

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  9. Thanks, Rob. Works great now.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  10. Right on, glad to help!

    Posted 12 years ago on Thursday August 23, 2012 | Permalink

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