<?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: Adding 4 Column Layout Tip</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip</link>
		<description>Gravity Support Forums Topic: Adding 4 Column Layout Tip</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 05:06:53 +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/adding-4-column-layout-tip" rel="self" type="application/rss+xml" />

		<item>
			<title>PowerMedia on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-65830</link>
			<pubDate>Wed, 11 Jul 2012 17:45:11 +0000</pubDate>
			<dc:creator>PowerMedia</dc:creator>
			<guid isPermaLink="false">65830@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That did the trick! Thanks for the help!!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-65819</link>
			<pubDate>Wed, 11 Jul 2012 17:13:57 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">65819@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@PowerMedia, &#60;/p&#62;
&#60;p&#62;Try typing the class names in manually rather than pasting them in the fields. Some browsers get a bit weird about pasting them in and it usually remedies the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PowerMedia on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-65781</link>
			<pubDate>Wed, 11 Jul 2012 11:42:12 +0000</pubDate>
			<dc:creator>PowerMedia</dc:creator>
			<guid isPermaLink="false">65781@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for sharing this corradomatt! However, I'm having a problem. I added your code into my child css and added your &#34;gf_one_quarter&#34; to the CSS Class Name. I added &#34;gf_one_quarter gf_quarter_last&#34; to the CSS Class Name in my last field. It doesn't accept the changes. Any suggestions? &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://carroll.powermediallc.org/coaches/game-results/&#34; rel=&#34;nofollow&#34;&#62;http://carroll.powermediallc.org/coaches/game-results/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>corradomatt on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-61413</link>
			<pubDate>Tue, 05 Jun 2012 01:35:09 +0000</pubDate>
			<dc:creator>corradomatt</dc:creator>
			<guid isPermaLink="false">61413@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah yes...absolutely - thanks Rob, it must have been late when I posted that one!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-61210</link>
			<pubDate>Sun, 03 Jun 2012 07:49:12 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">61210@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for posting! I edited your post at the top as people should not edit the forms.css file because plugin updates will overwrite it. Custom CSS (even for the plugin) should go into the theme's stylesheet or into a place in the theme that won't get overwritten automatically.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>corradomatt on "Adding 4 Column Layout Tip"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-4-column-layout-tip#post-61199</link>
			<pubDate>Sat, 02 Jun 2012 13:50:41 +0000</pubDate>
			<dc:creator>corradomatt</dc:creator>
			<guid isPermaLink="false">61199@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey everyone, I've been using GF for a while now and love the product. I recently had a need for a 4 column layout and created new css ready classes to create this layout. There are already a few posts from people wanting 4 column support but I didn't see any solutions on the forums that I liked. So I figured I would share my solution here....&#60;/p&#62;
&#60;p&#62;Add the following to your theme's CSS file (to avoid plugin update overrides).&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;/* 4 column ready class ------------------------------------------------------*/

.gform_wrapper .top_label li.gfield.gf_one_quarter { float:left; margin-right: 4%; width: 22%; clear:right !important; }
.gform_wrapper .top_label li.gfield.gf_quarter_last { margin-right:0; }
.gform_wrapper .top_label li.gfield.gfield_error.gf_one_quarter { width: 18% }
.gform_wrapper .top_label li.gfield.gf_one_quarter input.medium, .gform_wrapper .top_label li.gfield.gf_one_quarter input.large, .gform_wrapper .top_label li.gfield.gf_one_quarter select.medium, .gform_wrapper .top_label li.gfield.gf_one_quarter select.large { width: 95% }
.gform_wrapper .top_label li.gfield.gf_one_quarter+li.gsection, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gsection { padding: 16px 0 8px 0 }
.gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+li.gfield, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer, .gform_wrapper .top_label li.gfield.gf_one_quarter+.gform_footer { clear: both }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then add &#60;u&#62;gf_one_quarter&#60;/u&#62; to your fields css class name for each of the 4 columns. For the last column, enter &#60;u&#62;gf_one_quarter&#60;/u&#62; and &#60;u&#62;gf_quarter_last&#60;/u&#62;&#60;br /&#62;
&#60;hr /&#62;&#60;br /&#62;
I wanted the 4 column layout to display well no matter how wide the form was displayed, so I used only % widths for the columns and the padding. I also wanted to take up as few lines of code as possible (my 4 column is 6 lines vs. GF 2 columns being 13) - so I approached the issue of the individual columns a little differently. Instead of naming each column separately (ie gf_left_third, gf_middle_third, gf_right_third) I simply name each 1/4 column &#34;gf_one_quarter&#34;. The difference is when you add the css class for the last column, you must enter &#34;gf_one_quarter gf_quarter_last&#34;. The &#34;gf_quarter_last&#34; removes the unnecessary right margin from the last column.&#60;/p&#62;
&#60;p&#62;I haven't tested the above code in all scenarios (and I'm definitely no css expert) but it works well for my form. If you use this, let me know if you find any display issues and I'll see if I can help refine the code.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
