<?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 worked, then didn&#039;t.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt</link>
		<description>Gravity Support Forums Topic: Custom CSS worked, then didn&#039;t.</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 16:21:39 +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-worked-then-didnt" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35814</link>
			<pubDate>Tue, 20 Sep 2011 23:13:47 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35814@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep, that's all in the documentation here as well… see section 9.2&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples&#60;/a&#62;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #gform_wrapper_1 .gform_footer input[type=submit] {
     border:1px solid red
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>DanielBurns on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35810</link>
			<pubDate>Tue, 20 Sep 2011 21:26:04 +0000</pubDate>
			<dc:creator>DanielBurns</dc:creator>
			<guid isPermaLink="false">35810@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Excellent. Thank you. &#60;/p&#62;
&#60;p&#62;I don't think I see anything in this code to target the submit button. Can you point me in the right direction to make mods to that as well?&#60;/p&#62;
&#60;p&#62;Thank you again for your help. &#60;/p&#62;
&#60;p&#62;Dan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35806</link>
			<pubDate>Tue, 20 Sep 2011 18:52:35 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35806@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okaaaay. I get it now.&#60;/p&#62;
&#60;p&#62;Your CSS is targeting the wrong elements. You're targeting a select element ( drop-down ) and a textarea ( paragraph text ) - neither of which appear in this form. You probably want to do something like this.. I'd make it specific to this form ID too since you probably don't want all of your forms to format this way.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
/* Gravity Forms Customizations */

/* input height */
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=url],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=number],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=password],
body #gform_wrapper_1 .gform_body .gform_fields .gfield select {
	height:35px
}

/* text size */
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=text],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=email],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=url],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=tel],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=number],
body #gform_wrapper_1 .gform_body .gform_fields .gfield input[type=password],
body #gform_wrapper_1 .gform_body .gform_fields .gfield select,
body #gform_wrapper_1 .gform_body .gform_fields .gfield textarea {
	font-size:22px
}

/* label color */

body #gform_wrapper_1 .gform_body .gform_fields .gfield .gfield_label {
	color:red
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That should take care of all the field types you might use. You don't need all of them, but this adds  support for all the field types if you want to use them in the future.&#60;/p&#62;
&#60;p&#62;test screenshot: &#60;a href=&#34;http://bit.ly/plhJ9N&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/plhJ9N&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DanielBurns on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35802</link>
			<pubDate>Tue, 20 Sep 2011 18:26:38 +0000</pubDate>
			<dc:creator>DanielBurns</dc:creator>
			<guid isPermaLink="false">35802@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;here you are:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://experiencegravity.com/services/video-marketing/&#34; rel=&#34;nofollow&#34;&#62;http://experiencegravity.com/services/video-marketing/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35800</link>
			<pubDate>Tue, 20 Sep 2011 18:16:38 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">35800@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nope, don't edit the forms.css file. You can make all the changes you need in the theme stylesheet if done properly. Please post a URL your form page and I'll be happy to take a look at it. It's easier for me to see it and give you a specific answer rather than just guess.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DanielBurns on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35797</link>
			<pubDate>Tue, 20 Sep 2011 18:10:03 +0000</pubDate>
			<dc:creator>DanielBurns</dc:creator>
			<guid isPermaLink="false">35797@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Inspecting the elements of the page show that it is using the style from the forms.css, not the theme's CSS file.&#60;/p&#62;
&#60;p&#62;But when I read the forms.css file it clearly stated not to use that for modifications since it is overwritten on updates, instead to use my theme's stylesheet. &#60;/p&#62;
&#60;p&#62;I'm more than a little confused.&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DanielBurns on "Custom CSS worked, then didn&#039;t."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-worked-then-didnt#post-35787</link>
			<pubDate>Tue, 20 Sep 2011 17:50:57 +0000</pubDate>
			<dc:creator>DanielBurns</dc:creator>
			<guid isPermaLink="false">35787@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK I have a really basic form, Name and Email fields, that's it. I wanted to customize the input areas, specifically, the height of the field, the input text and the label.&#60;/p&#62;
&#60;p&#62;I used this page to add some code to my CSS file:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/frequently-asked-questions/faq-styling-formatting/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/frequently-asked-questions/faq-styling-formatting/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It worked perfectly (I swear it was working) I was able to increase the box height and the text size. I then added CSS to change the labels and once I did, the style for the box height and text size stopped working. Adding or removing the styling for the label still works, but something is overriding the height and font styles.&#60;/p&#62;
&#60;p&#62;I swear it worked at first and although I am a CSS noob, I have a feeling that adding the style to the label didn't have anything to do with the style for the input field height and font size not working. It must be something else, but I don't know where to look.&#60;/p&#62;
&#60;p&#62;Any advice would be appreciated.&#60;/p&#62;
&#60;p&#62;This is what I have in my style.css right now:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* Gravity Forms Customizations */

/* Box Height */
body .gform_wrapper .gform_body .gform_fields .gfield select {
	height:35px
	}

/* Text Height */
body .gform_wrapper .gform_body .gform_fields .gfield textarea {
	font-size:22px;
	}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {color:red}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
