<?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: Weird style behavior....</title>
		<link>https://legacy.forums.gravityhelp.com/topic/weird-style-behavior</link>
		<description>Gravity Support Forums Topic: Weird style behavior....</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 18:07:24 +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/weird-style-behavior" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Weird style behavior...."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/weird-style-behavior#post-27810</link>
			<pubDate>Wed, 15 Jun 2011 00:13:45 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">27810@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The period in the ID breaks the CSS rule. It interprets that as &#34;do X to ID #input_2_4 that also has class .4&#34; - That's something that's on our list to correct for the next release.&#60;/p&#62;
&#60;p&#62;What you could do in that scenario is use CSS inheritance to target the input based on the parent container like this..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#input_2_4_4_container input {background-color:#fff}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Still, in the long run, it's a lot of extra effort trying to override every input to make it white - the easier way to handle it moving forward is to simply nix the other rule. If you can't do that for some reason, you could always target all the inputs in a given form this way with one rule.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body #gform_wrapper_2 li input {background-color:#fff!important}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I didn't test, but the !important declaration may not even be necessary there.. the inheritance from the body tag may be enough without it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aemillerco on "Weird style behavior...."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/weird-style-behavior#post-27809</link>
			<pubDate>Tue, 14 Jun 2011 23:25:27 +0000</pubDate>
			<dc:creator>aemillerco</dc:creator>
			<guid isPermaLink="false">27809@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks... yea I was able to overwrite every other field, but not this one. Why is that? Here is the code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#input_2_4_1 {
    background-color: #FFFFFF;
}

#input_2_4_2 {
    background-color: #FFFFFF;
}

#input_2_4_3 {
    background-color: #FFFFFF;
}

#input_2_4_5 {
    background-color: #FFFFFF;
}

#input_2_4.4 {
    background-color: #FFFFFF;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Weird style behavior...."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/weird-style-behavior#post-27746</link>
			<pubDate>Tue, 14 Jun 2011 16:48:51 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">27746@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The background color is coming from a rule on line 88 of the dynamic.css file.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.customseedpacks.com/wp-content/uploads/pagelines/dynamic.css?ver=135-06141151959&#34; rel=&#34;nofollow&#34;&#62;http://www.customseedpacks.com/wp-content/uploads/pagelines/dynamic.css?ver=135-06141151959&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's the rule.. it applys a green background color to all of these elements.. including a blanket application to all inputs, textareas, etc... pretty sloppy CSS.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#feature-footer,
.main-nav li.current-page-ancestor a,
.main-nav li.current_page_item a,
.main-nav li.current-page-ancestor ul a,
.main-nav li.current_page_item ul a,
#wp-calendar caption,
#buddypress-page #subnav,
#buddypress-page .activity .activity-inner,
#buddypress-page table.forum th,
#grandchildnav.widget,
blockquote,
input,
textarea,
.searchform .searchfield,
.wp-caption,
.widget-default,
.commentlist .alt,
#wp-calendar #today,
#buddypress-page div.activity-comments form .ac-textarea,
#buddypress-page form#whats-new-form #whats-new-textarea,
.post-nav,
.current_posts_info,
.post-footer,
#twitterbar,
#carousel .content-pad,
.success,
.sf-menu li li,
.sf-menu li li,
.sf-menu li li li,
.content-pagination a .cp-num,
.hentry table .alternate td {
	background:#198a00;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The best thing to do is to edit this file and remove the input &#38;amp; textarea references or you'll probably encounter this again somewhere else. It appears that you've overriden that blanket style with some other rules for the rest of your form. It's best to just nix it at the source than try to override it with more CSS unless you absolutely have to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>aemillerco on "Weird style behavior...."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/weird-style-behavior#post-27707</link>
			<pubDate>Tue, 14 Jun 2011 01:20:21 +0000</pubDate>
			<dc:creator>aemillerco</dc:creator>
			<guid isPermaLink="false">27707@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys... I am having a heck of a lot of trouble with a form that includes an &#34;address&#34; group of fields. I am no CSS expert so I am using stylebot for google chrome to modify the look of the form fields, and then I dump the generated CSS into the code area of my WP theme (PlatformPro).&#60;/p&#62;
&#60;p&#62;Look at the &#34;state&#34; field though. It's got a green background! I cannot figure it out.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.customseedpacks.com/order/&#34; rel=&#34;nofollow&#34;&#62;http://www.customseedpacks.com/order/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The only difference i see is that this field takes on a format of: #input_2_4.4 while others are #input_2_4_5 (underscore vs a period).&#60;/p&#62;
&#60;p&#62;I am at a total loss and going nuts over this.&#60;/p&#62;
&#60;p&#62;Any help would be GREATLY appreciated!&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
