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.

Best way to override theme CSS

  1. shelzmike
    Member

    This might be beyond the scope of support for Gravity and if it is just let me know.

    I have a custom themed WP site we are using for a specific purpose at work. I used to work with WP a lot, but it has been abut 3 years and I am way rusty. The site uses a specific theme that I like and works pretty well (though the CSS is a bit much I think). I have created a form for an online application (http://www.webapps.acsdish.com/acs-employment-application) and created a custom template page that I have placed the form on.

    For the most part, it works well and looks like i should only have to make a few changes to the CSS. Herein lies my problem. I want to keep all of the theme CSS, EXCEPT when it comes to the form itself. I want to only use the default Gravity CSS (essentially, what you see in the form preview) in the section of the page that houses the form (it looks like this would be div id inner_content). I know that a lot of the styling (ex. the stupid ugly green arrow that is throwing everything off - that is easily fixable because i plan on just deleting that reference out of the main css as I will never use it) is applied outside of this div.

    So, my question: Is there an easy (er) way to accomplish this ONLY for this single page template?

    I suppose if I have to, I could make a copy of the regular css style for the theme and then make the changes there as necessary, but am unsure how to apply it to just that one page. Thanks!

    Mike

    Posted 12 years ago on Thursday August 18, 2011 | Permalink
  2. shelzmike
    Member

    I got this sorted out. I discovered the lovely body class function and this does exactly what I want it to do! Thanks to anyone who may have read it.

    Mike

    Posted 12 years ago on Thursday August 18, 2011 | Permalink
  3. Glad you got it sorted. Thanks for the update.

    Posted 12 years ago on Thursday August 18, 2011 | Permalink

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