Hi,
need a bit of help styling the input fields on all forms on my site if poss?
Just wanted to know how to round the corners of all the gravity forms items across all forms.
I am very new to this so please be nice :)
Thx in advance
Hi,
need a bit of help styling the input fields on all forms on my site if poss?
Just wanted to know how to round the corners of all the gravity forms items across all forms.
I am very new to this so please be nice :)
Thx in advance
You would use the CSS border-radius property. Just FYI, it's not supported in Internet Exploder though (surprise). Works well in the other browsers.
[css]
body .gform_wrapper input[type=text],
body .gform_wrapper input[type=password],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=URL],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=file],
body .gform_wrapper input[type=search] {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
sorry to be dumb about this Kevin, where exactly does this code go?
Like I said, complete beginner here :\
Does this go into my stylesheet?
Sorry. Yes, that would go at the end of your theme's stylesheet. Usually it's called style.css but some of the other more advanced themes have a place in their admin panel where you add custom CSS rules. This snippet just needs a home wherever you put your new CSS.
Thanks Kevin.
LOVE this company and its support network!!!!!
Looks great on all input boxes, but can it be applied to all visible fields including dropdown boxes, text fields, etc...
http://www.brightpropertyagents.com/contact
this may help...doh!
Sure, you just need to add those field types in there as well. Replace the previous snippet with this one.
[css]
body .gform_wrapper input[type=text],
body .gform_wrapper input[type=password],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=URL],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=file],
body .gform_wrapper input[type=search] ,
body .gform_wrapper select,
body .gform_wrapper textarea {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}