PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Overriding Theme CSS for Buttons to Show them as Default

  1. Hello,

    I am having a conflict between my theme's button stylizing and Gravity Forms' use of those buttons.

    If I wanted the Gravity Forms buttons to retain their styling, where would I find the CSS for this so I can set it with !important & knock out my theme's styling from the forms themselves?

    Thank you

    Posted 14 years ago on Monday June 20, 2011 | Permalink
  2. Gravity Forms doesn't have any default button styles. It's purposely designed to inherit styles like that from your theme. If you want to use the default browser button styles, you'll just need to remove the button styles from your theme CSS.

    You can also use CSS inheritance to set different button styles for the form itself.

    example:

    [css]
    body .gform_wrapper .gform_footer input[type=submit] {border:1px solid red}

    You can find examples of how to do that and more in the documentation here.
    http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples

    Posted 14 years ago on Monday June 20, 2011 | Permalink
  3. Ah ok - I got it figured out thanks to the VERY helpful support I get from Theme Fuse :)

    Thank you for the fast support answer in any case!

    Posted 14 years ago on Tuesday June 21, 2011 | Permalink

This topic has been resolved and has been closed to new replies.