There is one form wrapper that persists throughout all of the pages so your CSS rules applied to that wrapper should work across all of the pages as well unless something else is influencing it. Without seeing your form ourselves, there's only so much we should tell you.
You might want to target the form wrapper by the unique ID rather than the class so it only applies to the one form and not all of your forms. Also, you shouldn't need the !important declarations unless you've already applied a border style to the .gform_wrapper class elsewhere and need to override it.
Here's an example. You would replace the "XX" with the actual ID of your form.
[css]
body #gform_wrapper_XX {
background:#dbecf8;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
padding-right:15px;
padding-left:20px
}
If that's not working for you, then we'll need to see the form to help debug from there.
Posted 14 years ago on Thursday June 23, 2011 |
Permalink