<?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: CSS not being applied to IDs</title>
		<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids</link>
		<description>Gravity Support Forums Topic: CSS not being applied to IDs</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:56: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/css-not-being-applied-to-ids" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30052</link>
			<pubDate>Thu, 14 Jul 2011 17:46:38 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">30052@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No worries. I've stared holes in my screen many times. I know how it is.. usually the simple stuff that vexes us. Glad I could help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dodonest on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30049</link>
			<pubDate>Thu, 14 Jul 2011 17:45:17 +0000</pubDate>
			<dc:creator>dodonest</dc:creator>
			<guid isPermaLink="false">30049@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Kevin-&#60;/p&#62;
&#60;p&#62;Slight oversight on my part :)- Chalk it up to staring at the computer all day. I caught the &#34;body&#34; but overlooked the &#34;#&#34;.&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30046</link>
			<pubDate>Thu, 14 Jul 2011 17:32:15 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">30046@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's exactly the point I'm making.&#60;/p&#62;
&#60;p&#62;&#34;.gform_wrapper_1&#34; (dot) indicates that you are targeting a reusable class name of &#34;gform_wrapper_1&#34; while &#34;#gform_wrapper_1&#34; (pound) indicates that you are targeting an element with the unique ID of &#34;gform_wrapper_1&#34;. That's not the same thing.&#60;/p&#62;
&#60;p&#62;If you use the # (pound) sign instead of the . (dot) it should work because that's how the markup is structured.&#60;/p&#62;
&#60;p&#62;If you want it to apply to all forms, you would simply use &#34;.gform_wrapper&#34; because that's the generic class that applies to all of the Gravity Forms on your site.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://css-tricks.com/818-the-difference-between-id-and-class/&#34; rel=&#34;nofollow&#34;&#62;http://css-tricks.com/818-the-difference-between-id-and-class/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dodonest on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30044</link>
			<pubDate>Thu, 14 Jul 2011 17:28:01 +0000</pubDate>
			<dc:creator>dodonest</dc:creator>
			<guid isPermaLink="false">30044@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is the CSS I'm working with at the moment while I'm testing this out.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper_1 .left_label .gfield_label {
    color: #71277A;
    float: none;
    font-weight: bold;
    margin: 2px 15px 0 0;
    width: 29%;
}
body .gform_wrapper_1 .right_label div.ginput_complex, .gform_wrapper .left_label div.ginput_complex {
    float: none;
    width: 64%;
}
body .gform_wrapper_1 .right_label input.small, .gform_wrapper .right_label select.small, .gform_wrapper .left_label input.small, .gform_wrapper .left_label select.small {
    font-size: 14px;
    width: 15%;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;When I remove _1 the CSS displays? If I place the _1 after wrapper it's disabling the css for some reason.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30036</link>
			<pubDate>Thu, 14 Jul 2011 17:14:10 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">30036@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;nope, you may not NEED the &#34;body&#34; in the rule, but the better the specificity in the rule, the less problems you'll have overriding other theme styles so I recommend it. &#60;/p&#62;
&#60;p&#62;You don't need to add anything to your class names in the form editor because the &#34;gform_wrapper_1&#34; ID is something that's automatically applied when the form is rendered.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dodonest on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-30035</link>
			<pubDate>Thu, 14 Jul 2011 17:03:45 +0000</pubDate>
			<dc:creator>dodonest</dc:creator>
			<guid isPermaLink="false">30035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I have to actually include &#34;body&#34; in front of #gform?&#60;/p&#62;
&#60;p&#62;Also, in order for the css to display I &#34;Don't&#34; need to add &#34;#gform_wrapper_1&#34; to CSS Class Name in the Form Setting?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-29999</link>
			<pubDate>Thu, 14 Jul 2011 14:23:05 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">29999@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're using a class identifier (dot) and trying to taget an ID and that won't work. It also ooks like your color property was left empty. That's probably breaking the rest of the properties you're trying to define in that rule.&#60;/p&#62;
&#60;p&#62;Try this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #gform_wrapper_1 .left_label .gfield_label {
    color:#000;
    float: left;
    font-weight: bold;
    margin: 2px 15px 0 0;
    width: 29%
}&#60;/code&#62;&#60;/pre&#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;</description>
		</item>
		<item>
			<title>dodonest on "CSS not being applied to IDs"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-not-being-applied-to-ids#post-29997</link>
			<pubDate>Thu, 14 Jul 2011 13:18:21 +0000</pubDate>
			<dc:creator>dodonest</dc:creator>
			<guid isPermaLink="false">29997@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to apply custom css to the field label on id 1 and for some reason it not being applied?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
.gform_wrapper_1 .left_label .gfield_label {
    color: ;
    float: left;
    font-weight: bold;
    margin: 2px 15px 0 0;
    width: 29%;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
K
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
