<?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 for Address fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields</link>
		<description>Gravity Support Forums Topic: Custom CSS for Address fields</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:10:02 +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-for-address-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26708</link>
			<pubDate>Wed, 01 Jun 2011 12:23:17 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">26708@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you click on &#34;Settings&#34; under the GF menu, you should see this option on the settings page: &#60;a href=&#34;http://grab.by/agfb&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/agfb&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmktco on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26686</link>
			<pubDate>Wed, 01 Jun 2011 08:43:09 +0000</pubDate>
			<dc:creator>webmktco</dc:creator>
			<guid isPermaLink="false">26686@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK- I got a good night of sleep and I'm ready to get this thing right!&#60;/p&#62;
&#60;p&#62;How do I turn off the default CSS?  &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26682</link>
			<pubDate>Wed, 01 Jun 2011 05:44:53 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">26682@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;They're just inputs and all subject to CSS manipulation. Depending on your skill level, you can go wild and customize every element if you want to take the time and do so. You may have to be more specific with your CSS in some instances to override the defaults but you can still manipulate the individual elements just fine. For example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
html body .gform_wrapper .top_label li.gfield.gf_inline input#input_1_14.small {
    width: 20px!important;
    background-color: blue;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/ag79&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/ag79&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There is also an option in the settings to turn off the default CSS output so you can create all of your own form CSS from scratch if you want. That way you're free to define everything to suit your needs without having to override any of the default styles.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmktco on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26679</link>
			<pubDate>Wed, 01 Jun 2011 00:25:01 +0000</pubDate>
			<dc:creator>webmktco</dc:creator>
			<guid isPermaLink="false">26679@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Again, thanks for your help.&#60;/p&#62;
&#60;p&#62;I made the changes you noted above- Specifically, I changed the Zip from medium to small.  While that made the field shorter in length, I gotta say that I'm baffled that I can't customize the field to an exact length. &#60;/p&#62;
&#60;p&#62;Am I correct by saying I can only change the field length to small, medium or large?  Look at the City field- it's too long under the medium setting, but too short under the small setting (in my form example above).&#60;/p&#62;
&#60;p&#62;I know I probably sound crazy, but stuff like this is really important to me.  I purchased the developer license hoping to use Gravity Forms on all of my client sites (which was highly recommended to me).&#60;/p&#62;
&#60;p&#62;I have dozens of other forms I need to create, but I'm very concerned that I won't be able to customize the forms at the level I was hoping to.&#60;/p&#62;
&#60;p&#62;Thanks for your help-&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26676</link>
			<pubDate>Tue, 31 May 2011 22:31:56 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">26676@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can set the field size in the admin. Try setting your new zip code input to &#34;small&#34; so it fits inline with the other elements.&#60;/p&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/ag1m&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/ag1m&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The city, state and zip fields are not all in the same container, but rather each is contained in it's own list item. If you want to apply the same margins to these, then you'll need to target each one by id.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper input#field_1_12,
body .gform_wrapper input#field_1_13,
body .gform_wrapper input#field_1_14 {
margin:20px 0
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>webmktco on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26675</link>
			<pubDate>Tue, 31 May 2011 22:14:47 +0000</pubDate>
			<dc:creator>webmktco</dc:creator>
			<guid isPermaLink="false">26675@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin,&#60;/p&#62;
&#60;p&#62;I'm trying to change the fields so that they look consistent.&#60;/p&#62;
&#60;p&#62;The fields (Name, Name of Business, Phone, Fax, Email, Address (street &#38;amp;, address2)  should have the same CSS:&#60;br /&#62;
	border:1px solid #803300;&#60;br /&#62;
	font-size: 15px;&#60;br /&#62;
	width: 150px;&#60;br /&#62;
	background-color: #333;&#60;br /&#62;
	color: #FFF;&#60;br /&#62;
	padding-top: 7px;&#60;br /&#62;
	padding-right: 3px;&#60;br /&#62;
	padding-bottom: 7px;&#60;br /&#62;
	padding-left: 3px;&#60;/p&#62;
&#60;p&#62;City should be the same as above except a width of 100px&#60;br /&#62;
State should be the same as above except a width of 150px&#60;br /&#62;
Zip should be the same as above except a width of 75px&#60;/p&#62;
&#60;p&#62;City, State, Zip should be inline.&#60;/p&#62;
&#60;p&#62;Finally, I'd like for the Address fields (Street, Address2, City, State, Zip) to have less height (or less top/bottom margins/padding) than the other fields since they are part of a group.&#60;/p&#62;
&#60;p&#62;I hope I've explained myself better than my first attempt.  &#60;/p&#62;
&#60;p&#62;Thanks! :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26669</link>
			<pubDate>Tue, 31 May 2011 19:41:11 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">26669@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not 100% clear what you're asking for when you say you want the address to look like the other fields. Are you talking about alignment? Spacing? The address field is an advanced field with specific inputs grouped together and sized to work together in the layout.&#60;/p&#62;
&#60;p&#62;If you prefer, you can use standard text fields to create individual fields for the street address, city, state, etc. If you create a standard drop-down for the state field, then you can modify the contents to whatever you prefer them to be.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmktco on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26668</link>
			<pubDate>Tue, 31 May 2011 19:22:17 +0000</pubDate>
			<dc:creator>webmktco</dc:creator>
			<guid isPermaLink="false">26668@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Kevin,&#60;/p&#62;
&#60;p&#62;First off- thanks for your help and quick response!  Unfortunately, I'm not following what you're saying.  &#60;/p&#62;
&#60;p&#62;My question is- how can I make the Address (and it's sub fields) to look like the other input fields (Name, Email, Phone)?  &#60;/p&#62;
&#60;p&#62;I'd also like to be able to modify the State drop down list.&#60;/p&#62;
&#60;p&#62;I've read the info at &#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; and it's not helping me with my issue.&#60;/p&#62;
&#60;p&#62;Any help is greatly appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26666</link>
			<pubDate>Tue, 31 May 2011 19:05:23 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">26666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're constraining the width of the containing div element to 175px on line 390 of your style.css file&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container {
    border: 1px solid red;
    width: 175px;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;There is also an overflow on that div so even if you do successfully change the width of the fields inside that div, they'll be hidden.&#60;/p&#62;
&#60;p&#62;With the width constraint removed, you can view the source and get the input ID, then target it for CSS manipulation like this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
html body #gform_wrapper_1 input#input_1_6_1 {
	width:400px;
	background-color:red
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/afWr&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/afWr&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webmktco on "Custom CSS for Address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-for-address-fields#post-26647</link>
			<pubDate>Tue, 31 May 2011 16:01:37 +0000</pubDate>
			<dc:creator>webmktco</dc:creator>
			<guid isPermaLink="false">26647@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi- I've spent hours trying to modify the CSS in the Address section of my our form.  I've read and re-read and searched in the forums but I'm racking by brain with no success.&#60;/p&#62;
&#60;p&#62;For the life of me I cannot get the address sub fields to change size.  I'm trying to make the Street Address, Address Line 2, City, State, &#38;amp; Zip Code fields to change.&#60;/p&#62;
&#60;p&#62;Any help is greatly appreciated.&#60;br /&#62;
&#60;a href=&#34;http://bit.ly/iOI0Oe&#34; rel=&#34;nofollow&#34;&#62;http://bit.ly/iOI0Oe&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
