Hello, i want to use my theme button class instead of the form button class, is there anyway to change the button class of the form?
Hello, i want to use my theme button class instead of the form button class, is there anyway to change the button class of the form?
you can use this filter to change the markup..
http://www.gravityhelp.com/documentation/page/Gform_submit_button
but it may be easier to simply to simply target the button with a new CSS rule and apply the same properties to the existing class as your current theme button class.
[css]
body .gform_wrapper .gform_footer input[type=submit] {border:1px solid red}
what about the next and previous buttons? [ steps page]
There's currently not a filter to change the markup on those.. you would need to use new CSS rules to make changes.
[css]
body .gform_wrapper .gform_body .gform_page_footer .gform_next_button {
border: 1px solid red
}
body .gform_wrapper .gform_body .gform_page_footer .gform_previous_button {
border: 1px solid red
}
http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples