The first thing you are going to want to do, is not edit the forms.css file of the plugin. As soon as we release an update to Gravity Forms, it's going to wipe out your changes - thus the warning message at the top of the file to not edit it.
Once you have removed and reverted the forms.css file, place the following edited CSS snippet in your theme's stylesheet (or wherever you place custom styles at the theme level) and it should do the trick for you:
[css]
body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit] {
color:#ffffff;
padding-top:4px;
padding-bottom:4px;
padding-left:10px;
padding-right:10px;
border: 1px solid rgba(114,114,114,0.4);
border-radius: 1px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: 0 1px 0px rgba(114,114,114,0.3);
-moz-box-shadow: 0 1px 0px rgba(114,114,114,0.3);
-webkit-box-shadow: 0 1px 0px rgba(114,114,114,0.3);
background-color: #0096d6;
}
body .gform_wrapper .gform_footer input[type=submit]:hover {
border: 1px solid rgba(114,114,114,0.6);
background-color: #444444;
}
body .gform_wrapper .gform_footer input[type=submit]:active { top: 1px; }
Posted 11 years ago on Sunday February 17, 2013 |
Permalink