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.

Adding Custom CSS

  1. Shaimoom
    Member

    Hi, I am developing using the Roots Starter Theme. In this theme, any custom CSS is added to a /css/app.css file instead of the style.css file in the theme's root directory. However, these custom styles that I add to the app.css file needs to have an !important declaration in order to override any styles in the Gravity Forms forms.css file. Is this correct or is there a way I can override this cascade order so I don't have to add !important to all my custom styles? Thanks in advance.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  2. Shaimoom
    Member

    I figured this out. It was a matter of specificity. I needed to add more specific targets as outlined in the Documentation: http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  3. Glad you got it sorted, thanks for letting us know.

    Posted 12 years ago on Thursday August 23, 2012 | Permalink

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