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.

CSS Class Name

  1. Andrewd
    Member

    I don't want the form to use my theme css. Where do i find the CSS Class Name to put in my form editor so that the form uses a different css than my theme?

    Posted 13 years ago on Monday July 12, 2010 | Permalink
  2. The form will inherit properties from your theme CSS file if it's loaded on the same page. You can override the theme styles by using more specific rules for your form, but there's no way to simply disable the theme CSS unless you don't include it in the form page.

    Example: Your theme has blue text but you want red.. you can use inheritance from the main form wrapper to force this.

    .gform_wrapper {color:red}

    or, if you wanted it to only apply to one specific form, use the wrapper ID rather than the class

    #gform_wrapper_1 {color:red}

    This might be helpful as you step through the form CSS

    http://www.gravityhelp.com/documentation/visual-css-guide/

    Posted 13 years ago on Monday July 12, 2010 | Permalink