<?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: Styling submit button</title>
		<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button</link>
		<description>Gravity Support Forums Topic: Styling submit button</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 15:44:01 +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/styling-submit-button" rel="self" type="application/rss+xml" />

		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64376</link>
			<pubDate>Mon, 02 Jul 2012 11:25:04 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64376@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Oh, duh!  Haha.  Sorry Rob, I see the field ID now.  Not sure how I missed that.  This can be closed and thanks so much for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64375</link>
			<pubDate>Mon, 02 Jul 2012 11:23:37 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64375@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Rob.  My apologies for one more question, but that is how I how I presumed to do field-specific targeting.  I just am not sure where to look when editing a form to know a field's ID# (or, is it just logical?  The first field is field 1, second is field 2, etc.)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64373</link>
			<pubDate>Mon, 02 Jul 2012 11:18:13 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">64373@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That does cover all of the text-based inputs that we use. If you did want to target a specific input - that is when you would then use the ID on the input or the ID on the li to target that element.&#60;/p&#62;
&#60;p&#62;So either input#fieldid1 or li#fieldid1 input[type=&#34;email&#34;] - this would be a hypothetical example.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64370</link>
			<pubDate>Mon, 02 Jul 2012 11:12:40 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64370@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nailed it!  (and the type was mine because I told you #gform_input_4 in my original post).&#60;/p&#62;
&#60;p&#62;Just so I understand, does the input[type=&#34;variable&#34;] that you used cover all of the GF types possible?  I just want to understand so that I can choose to target specific types later.&#60;/p&#62;
&#60;p&#62;And, for my further education, let's say I had two email fields and I wanted to target a specific one in CSS to change border or background, how do I target a specific instance of a specific type?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64367</link>
			<pubDate>Mon, 02 Jul 2012 11:00:34 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">64367@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Dude, I apologize - my snippet was incorrect, should have been #gform_wrapper_4 instead of #gform_input_4 (that doesn't even exist - was just a typo on my part). At any rate let's review here. Right now you have this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#gform_wrapper_4 input {
background-color: black !important;
border-color: #313131 !important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Instead of that, replace it with this to target only these input types:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[css]
#gform_wrapper_4 input[type=&#38;quot;text&#38;quot;], #gform_wrapper_4 input[type=&#38;quot;url&#38;quot;], #gform_wrapper_4 input[type=&#38;quot;email&#38;quot;], #gform_wrapper_4 input[type=&#38;quot;tel&#38;quot;], #gform_wrapper_4 input[type=&#38;quot;number&#38;quot;], #gform_wrapper_4 input[type=&#38;quot;password&#38;quot;] {
background-color: black !important;
border-color: #313131 !important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then use just this for the submit button:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#gform_submit_button_4 {
background-color: #fff;
color: #000 !important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;a href=&#34;http://www.evernote.com/shard/s212/sh/65149ac0-6b50-49a5-bcbb-3e81ced37bcd/a0c9474ff28c5d6dfa667a716284a833&#34; rel=&#34;nofollow&#34;&#62;Screenshot&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64363</link>
			<pubDate>Mon, 02 Jul 2012 10:53:51 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64363@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No changes, but, I also noticed that I was using #gform_wrapper_4 rather than the #gform_input_4&#60;/p&#62;
&#60;p&#62;So my actual code (with your changes above) is as follows (note that I did try it with your code above as well with no changes to submit button).  Ultimately what I want to learn to do is to target the type attribute specifically, but I failed in all my efforts to do so.  If you can show me an example of how to do that, it'll probably prevent me from asking styling questions in the future because that is the power I would prefer to have over the specific fields...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#gform_wrapper_4 input{
background-color:#000000 !important;
border-color:#313131 !important;
}
#gform_input_4 #gform_submit_button_4 {
background-color:#ffffff !important;
color:#000000 !important;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64359</link>
			<pubDate>Mon, 02 Jul 2012 10:25:13 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">64359@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This should do the trick for you:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
#gform_input_4{
background-color:#000000 !important;
border-color:#313131 !important;
}
#gform_input_4 #gform_submit_button_4 {
background-color:#ffffff !important;
color:#000000 !important;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could alternatively target your input's by the type attribute which would then, not affect the submit input.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64358</link>
			<pubDate>Mon, 02 Jul 2012 10:22:38 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64358@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Bottom right footer.  Thanks for any help Rob.  &#60;a href=&#34;http://emergerbanquet.com/&#34; rel=&#34;nofollow&#34;&#62;http://emergerbanquet.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64353</link>
			<pubDate>Mon, 02 Jul 2012 10:15:54 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">64353@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Could you post a link to your form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>daviddesrocher on "Styling submit button"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/styling-submit-button#post-64352</link>
			<pubDate>Mon, 02 Jul 2012 10:05:58 +0000</pubDate>
			<dc:creator>daviddesrocher</dc:creator>
			<guid isPermaLink="false">64352@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Due to a minor conflict with my theme, when I use a form in the footer widget I have to style it to make it look perfect.  I'm trying to style the submit button to have a white background and black letters - whereas my form fields have black background and white letters.  I've inserted the code below, but I am doing something wrong because the first string is taking over the submit button specific code.  By itself, the submit code works, and the other code works as well, but together the submit specific code is ignored or &#34;overruled&#34; by the first code.  Any advice?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#gform_input_4{
background-color:#000000 !important;
border-color:#313131 !important;
}
#gform_submit_button_4 {
background-color:#ffffff !important;
color:#000000 !important;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
