I want to tell gravity forms to ignore it's button properties and to use the properties from my current theme.
I want to tell gravity forms to ignore it's button properties and to use the properties from my current theme.
The easiest thing to do here is to copy the entire contents of the forms.css file in the gravityforms folder then paste that at the end of your theme's stylesheet. Once you've done that, go to the forms settings page and set the "output css" option to "no"
Then, you can modify all of the form css directly without having to override anything. Also, by copying the content to your theme stylesheet, you don't have to worry about any changes being overwritten when you update the plugin.
I *love* Gravity Forms!
I find myself needing some help.
1. I succeeded changing the heading at: http://alnavas.com/executive/?page_id=397 by using the background setting:
.gform_wrapper h1, .gform_wrapper h2, .gform_wrapper h3 {font-weight:normal; border:none; outline:none; background:#EBEBEB}
I did by copying the entire content of forms.css to the style sheet, and making the change in style.css for the theme (Executive, from StudioPress).
2. Now my client has asked me to change the background to the entire form in the same shading. BUT I am unable to locate *where* I should make the change(s).
Please let me know where I change the styling. Many thanks!
Al
Hi Sandalwood,
This should do the trick:
#gform_wrapper_2 { background-color: #ebebeb; padding: 10px; }
Note: I also added 10px of padding so the form is butting up against the edge created by the background color. If you don't like, just remove it. :)
Thanks, David - that did the trick!
I took it a bit further, borrowing some formatting from the Breadcrumb, to give the form a more unified look with the rest of the Theme - rounded corners, etc.: http://alnavas.com/executive/?page_id=397
Thanks a bunch one more time!
Al
Looks great! Thanks for sharing. :)