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?
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?
Sure is, do you happen to have a link to your form?
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.
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.
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.
Thanks, Rob. I'll give it a try and let you know how it turns out.
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
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".
Thanks, Rob. Works great now.
Right on, glad to help!