<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Custom CSS Best Practices</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices</link>
		<description>Gravity Support Forums Topic: Custom CSS Best Practices</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 11:55:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/custom-css-best-practices" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-42287</link>
			<pubDate>Mon, 28 Nov 2011 12:24:17 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">42287@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can target specific form IDs (each form has it's own) or hook onto some selector on the page. You can also set custom classes within the form builder. Since I don't have a link to your site, that's about all I can provide to you at the moment.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>isle2isle on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-42283</link>
			<pubDate>Mon, 28 Nov 2011 12:03:38 +0000</pubDate>
			<dc:creator>isle2isle</dc:creator>
			<guid isPermaLink="false">42283@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I feel like an idiot. Just don't get it.  How can my style.css override the gravity forms css when style.css appears BEFORE it on my pages? I am missing something very basic here I know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11139</link>
			<pubDate>Wed, 13 Oct 2010 20:31:14 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">11139@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Totally up to you. The more specific you are with your CSS rules, the fewer inheritance problems you'll have. Sounds like a solid plan.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris M. on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11137</link>
			<pubDate>Wed, 13 Oct 2010 19:18:45 +0000</pubDate>
			<dc:creator>Chris M.</dc:creator>
			<guid isPermaLink="false">11137@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;One last thing (Kevin and Carl):&#60;/p&#62;
&#60;p&#62;As per the advice of the Thesis guys, they say the following:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
BASIC USAGE:&#60;/p&#62;
&#60;p&#62;If you have enabled the custom stylesheet in the Thesis options panel, the &#38;lt;body&#38;gt; tag&#60;br /&#62;
will be appended with the &#34;custom&#34; class, like so: &#38;lt;body class=&#34;custom&#34;&#38;gt;. You can use&#60;br /&#62;
the &#34;custom&#34; class to override *any* CSS declarations contained in the style.css file.&#60;/p&#62;
&#60;p&#62;For example, if you wish to change the default link color to green, you would add the&#60;br /&#62;
following declarations to this file:&#60;/p&#62;
&#60;p&#62;	.custom a, .custom a:visited { color: #090; }	&#38;lt;--- This makes links green&#60;br /&#62;
	.custom a:hover { color: #00f; }	&#38;lt;--- This makes links blue when you mouse over them&#60;/p&#62;
&#60;p&#62;WHY THIS WORKS:&#60;/p&#62;
&#60;p&#62;By using the &#34;custom&#34; class, you are creating more specific CSS declarations for HTML&#60;br /&#62;
elements. CSS styling is applied through rules of specificity, and because declarations&#60;br /&#62;
prepended with .custom are more specific, they get applied when the page is rendered!&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;So, my question is this:&#60;/p&#62;
&#60;p&#62;Should I also take this approach with the Gravity Forms custom CSS in this same file here (with the Thesis customizations)?&#60;/p&#62;
&#60;p&#62;Like this, for example:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.custom .gform_body {background: #000000;}&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris M. on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11134</link>
			<pubDate>Wed, 13 Oct 2010 18:13:01 +0000</pubDate>
			<dc:creator>Chris M.</dc:creator>
			<guid isPermaLink="false">11134@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Love it! &#60;/p&#62;
&#60;p&#62;Thanks for the tips, time, and advice.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11131</link>
			<pubDate>Wed, 13 Oct 2010 18:05:44 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">11131@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep, you are correct.  Just use CSS inheritance to add just the styles necessary to do what you want to your custom.css file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris M. on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11129</link>
			<pubDate>Wed, 13 Oct 2010 17:50:22 +0000</pubDate>
			<dc:creator>Chris M.</dc:creator>
			<guid isPermaLink="false">11129@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Carl, I will try it out!&#60;/p&#62;
&#60;p&#62;Just to repeat, all I have do is isolate/target the exact selector that I want to influence within the form and place that ONE declaration block in the &#34;custom.css&#34; file for Thesis?&#60;/p&#62;
&#60;p&#62;Thanks again guys!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11094</link>
			<pubDate>Wed, 13 Oct 2010 11:12:49 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">11094@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, you would add your custom CSS to override the Gravity Forms default styles to your custom.css file.&#60;/p&#62;
&#60;p&#62;If you have any problems with a style not being applied because of the order in which the stylesheets are included in the HTML you can use the CSS !important declaration to force it to apply.&#60;/p&#62;
&#60;p&#62;Ex.&#60;/p&#62;
&#60;p&#62;.gform_body {background: #000000!important;}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris M. on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11089</link>
			<pubDate>Wed, 13 Oct 2010 10:57:30 +0000</pubDate>
			<dc:creator>Chris M.</dc:creator>
			<guid isPermaLink="false">11089@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Kevin! I really appreciate the time you have taken to answer me (I know it must be overwhelming at times). &#60;/p&#62;
&#60;p&#62;Ok, so I am using Thesis 1.8, and they use a custom.css file structure (which I love, and I understand that this is what you are suggesting as well). Can I just enter in the selectors that I want to target in Gravity Forms in the Thesis custom.css file (assuming that all of the Gravity Form selectors are uniquely named)? I don't want to make drastic changes, mainly things like form font size, border, background shading, etc. Maybe about 6 major areas of the display of the forms.&#60;/p&#62;
&#60;p&#62;Thanks again Kevin!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS Best Practices"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-best-practices#post-11083</link>
			<pubDate>Wed, 13 Oct 2010 09:23:54 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">11083@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;Welcome and thanks for the kind words.&#60;/p&#62;
&#60;p&#62;We recommend that you append any custom styles to the end of your theme's stylesheet and never change the default forms.css file that's in the plugin folder.&#60;/p&#62;
&#60;p&#62;If you need to make extensive changes, I recommend copying the entire contents of the forms.css file from the plugin folder and either making a new stylesheet in your theme folder or appending all of that to your theme's style.css file. Then go to the form settings page and set the &#34;output css&#34; option to no. That way you're free to modify everything safely from within the theme folder and none of your changes will be overwritten when the plugin updates.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
