<?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: Reduce Gravity Forms height in CSS</title>
		<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css</link>
		<description>Gravity Support Forums Topic: Reduce Gravity Forms height in CSS</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:50:06 +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/reduce-gravity-forms-height-in-css" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-31155</link>
			<pubDate>Thu, 28 Jul 2011 16:52:21 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31155@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gloria,&#60;/p&#62;
&#60;p&#62;Headway Theme's are great and they have a great support team. I think you've chosen wisely there. Let us know if we can help out with anything else.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gepijac on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-31139</link>
			<pubDate>Thu, 28 Jul 2011 12:44:21 +0000</pubDate>
			<dc:creator>gepijac</dc:creator>
			<guid isPermaLink="false">31139@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, Kevin. With your suggestions,  am sure something will work out with a little more tweaking on my part. BTW, I'm using Headway Themes.&#60;br /&#62;
Cheers,&#60;br /&#62;
Gloria
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-31135</link>
			<pubDate>Thu, 28 Jul 2011 12:05:22 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">31135@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@gepijac,&#60;/p&#62;
&#60;p&#62;Your form is inheriting some margins from the Theme thats adding a little extra spacing between your fields. You can add this to your custom CSS to override that.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
ul.sidebar li .gform_wrapper ul li {
    margin: 0!important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You would target textareas like this.. taken from the example in the documentation.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper .gform_body .gform_fields .gfield textarea
{
	border:1px solid red
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;or if you want to target the specific textarea in your sidebar widget, it would be like this.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]

body .gform_wrapper .gform_body .gform_fields .gfield textarea#input_8_7
{
	height:50px;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>gepijac on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-31133</link>
			<pubDate>Thu, 28 Jul 2011 11:46:43 +0000</pubDate>
			<dc:creator>gepijac</dc:creator>
			<guid isPermaLink="false">31133@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm relatively new to Gravity Forms and I love it! Have already created a handful of forms for an html site that I'm converting to WordPress. One of the forms is a poll in a sidebar widget that I've been trying to make more compact by decreasing the spacing between the fields.  I've customized the font properties and shifted the position of the submit button using the CSS in your &#34;targeting specific elements&#34; post. However, I've been unable to reduce the spacing between the fields. I'm sure it's no big deal, but it seems I'm missing something. Here's the URL of the test page:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://testsite.fanfaire.com/thibaudet-jytbio&#34; rel=&#34;nofollow&#34;&#62;http://testsite.fanfaire.com/thibaudet-jytbio&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also, what's the CSS for reducing the size of the text area? Would greatly appreciate any help. Thanks!&#60;br /&#62;
-Gloria
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-20823</link>
			<pubDate>Fri, 18 Mar 2011 12:00:36 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">20823@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Try adding this to the end of your theme's style.css file&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.footer-widget .gform_wrapper ul li {
    padding: 0;
    background-image: none;
}

#gform_wrapper_2.gform_wrapper .gform_footer {
    padding: 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/9y5c&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9y5c&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>travin on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-20815</link>
			<pubDate>Fri, 18 Mar 2011 11:14:08 +0000</pubDate>
			<dc:creator>travin</dc:creator>
			<guid isPermaLink="false">20815@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.freeclassifiedproducts.com&#34; rel=&#34;nofollow&#34;&#62;http://www.freeclassifiedproducts.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Left out the &#34;i&#34;, sorry.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-20798</link>
			<pubDate>Fri, 18 Mar 2011 00:44:56 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">20798@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@travin, I can't see your form page to help out.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/9xJ7&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/9xJ7&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>travin on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-20793</link>
			<pubDate>Thu, 17 Mar 2011 23:29:11 +0000</pubDate>
			<dc:creator>travin</dc:creator>
			<guid isPermaLink="false">20793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I used the above code to reduce the spacing of my &#34;Tell A Friend&#34; form found at the bottom of the page here:  &#60;a href=&#34;http://www.freeclassifedproducts.com&#34; rel=&#34;nofollow&#34;&#62;http://www.freeclassifedproducts.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I need smaller spacing between the fields if possible and also need to make the submit button shift up.  I tried adding the .gform footer bit but guess I didn't get that right.&#60;/p&#62;
&#60;p&#62;Thanks in advance
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dysell on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-3693</link>
			<pubDate>Tue, 02 Mar 2010 11:23:44 +0000</pubDate>
			<dc:creator>dysell</dc:creator>
			<guid isPermaLink="false">3693@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks! It does put me in the right direction. I am gonna tweak away now :) I will be back if I have more questions. Quick response you guys!&#60;/p&#62;
&#60;p&#62;Robert
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Reduce Gravity Forms height in CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/reduce-gravity-forms-height-in-css#post-3688</link>
			<pubDate>Tue, 02 Mar 2010 10:14:15 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">3688@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Depending on your form orientation (top label, left label, etc.) different values will affect the spacing.. for a default top label type form, the field label margins are the biggest influence.&#60;/p&#62;
&#60;p&#62;As far as which CSS, you'll want to make any custom CSS changes/additions in your theme style sheet and not directly in the CSS in the Gravity Forms folder. That way you can avoid losing any information when you run the automatic updates.&#60;/p&#62;
&#60;p&#62;You can start off by adding this to the bottom of your theme style sheet.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.gform_wrapper .top_label .gfield_label {
	margin:2px 0 2px 0!important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Tweak the values to your preference. Here's a &#60;a href=&#34;http://grab.by/2M2w&#34; rel=&#34;nofollow&#34;&#62;screenshot&#60;/a&#62; of my test form with that one change.&#60;/p&#62;
&#60;p&#62;If you have a lot of customization to do, you may want to copy the entire contents of the forms.css file in the Gravity Forms folder, append that to the bottom of your theme style sheet and then go into the Gravity Forms settings page and uncheck the &#34;output css&#34; option. This will disable the default style sheet and let you comfortably customize all the css from the theme style sheet.&#60;/p&#62;
&#60;p&#62;Hope that points you in the right direction.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
