<?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: Add CSS Class not doing what I expect</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-css-class-not-doing-what-i-expect</link>
		<description>Gravity Support Forums Topic: Add CSS Class not doing what I expect</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 08:29: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/add-css-class-not-doing-what-i-expect" rel="self" type="application/rss+xml" />

		<item>
			<title>martcol on "Add CSS Class not doing what I expect"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-css-class-not-doing-what-i-expect#post-155293</link>
			<pubDate>Tue, 26 Feb 2013 18:04:56 +0000</pubDate>
			<dc:creator>martcol</dc:creator>
			<guid isPermaLink="false">155293@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Oh, thanks richardvav&#60;/p&#62;
&#60;p&#62;I didn't notice that.&#60;/p&#62;
&#60;p&#62;Sorted&#60;/p&#62;
&#60;p&#62;Martin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Add CSS Class not doing what I expect"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-css-class-not-doing-what-i-expect#post-155243</link>
			<pubDate>Tue, 26 Feb 2013 16:41:03 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">155243@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When you add a class to the form settings advanced panel you are actually adding that class to both the form wrapper and the form tag as shown below, so any styles you assign the class span3 will be applied to to only the form tag, if you remove the _wrapper they will be applied to both the div and the form tag.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;gf_browser_chrome gform_wrapper span3_wrapper&#38;quot; id=&#38;quot;gform_wrapper_1&#38;quot;&#38;gt;
&#38;lt;form method=&#38;quot;post&#38;quot; enctype=&#38;quot;multipart/form-data&#38;quot; id=&#38;quot;gform_1&#38;quot; class=&#38;quot;span3&#38;quot; action=&#38;quot;&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you do only want to apply the class span3 to the wrapper div and not the form tag as well you could forget adding the class in form settings and use the jquery addclass method &#60;a href=&#34;http://api.jquery.com/addClass/&#34; rel=&#34;nofollow&#34;&#62;http://api.jquery.com/addClass/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>martcol on "Add CSS Class not doing what I expect"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-css-class-not-doing-what-i-expect#post-155188</link>
			<pubDate>Tue, 26 Feb 2013 15:13:34 +0000</pubDate>
			<dc:creator>martcol</dc:creator>
			<guid isPermaLink="false">155188@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK so I am adding a form in a responsive theme using Bootstrap.  Up to now I have put a &#38;lt;div class=&#34;span3&#34;&#38;gt; in my page and wrapped the shortcode for my previous form plugin in that div. So I see that I can add a css class in the settings in GF.&#60;/p&#62;
&#60;p&#62;When I do that it comes out as span3_wrapper which obviously, isn't any good.  So if I put span3 and a space it comes out in the code as span3 _wrapper which worked I think, but leaves a stray _wrapper in the code.&#60;/p&#62;
&#60;p&#62;What should I do about that?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Martin
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
