<?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: Custom CSS</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-css</link>
		<description>Gravity Support Forums Topic: Custom CSS</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 12:53:51 +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/custom-css" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-226629</link>
			<pubDate>Sat, 27 Apr 2013 03:07:25 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">226629@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The following plugins available from the wordpress.org plugin directory will convert your field labels into placeholders&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/gravity-forms-placeholders/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/gravity-forms-placeholders/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you opt to use the jQuery instead you would use the following&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script&#38;gt;
jQuery(document).ready(function($){
    $(&#38;#39;#input_5_1&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Name&#38;#39;);
    $(&#38;#39;#input_5_2&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Email&#38;#39;);
    $(&#38;#39;#input_5_3&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Phone&#38;#39;);
});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here's a guide to where to put code &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;And with that you would use the following CSS to hide the field labels and add left side padding and increase the margin between the inputs&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#field_5_1 .gfield_label, #field_5_2 .gfield_label, #field_5_3 .gfield_label, #field_5_6 .gfield_label, #field_5_5 .gfield_label {
    display: none;
}
#field_5_1 input, #field_5_2 input, #field_5_3 input {
    padding-left: 30px;
    width: 85%;
    margin-bottom: 20px;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The above figures are just examples so customise them until you get the positioning how you want it. &#60;/p&#62;
&#60;p&#62;To add the background image you can target the inputs like so&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#field_5_1 input{
    /* your normal background rules go here*/
}
#field_5_1 input:focus{
    /* your focus background rules go here*/
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can find out more about css backgrounds here &#60;a href=&#34;http://www.w3schools.com/css/css_background.asp&#34; rel=&#34;nofollow&#34;&#62;http://www.w3schools.com/css/css_background.asp&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AlikA on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-226133</link>
			<pubDate>Fri, 26 Apr 2013 21:32:56 +0000</pubDate>
			<dc:creator>AlikA</dc:creator>
			<guid isPermaLink="false">226133@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Richard, can I ask what plugins are you talking about?&#60;br /&#62;
and also.. im not familiar with jQuery. could you help me understand where the code you specified goes...&#60;br /&#62;
I think I get it, the code you provided will allow me to target the &#34;text label&#34; which I can then hide in CSS? and leave the fields like: &#60;u&#62;#input_5_1&#60;/u&#62; to be styled with CSS&#60;/p&#62;
&#60;p&#62;And I am still struggling to figure out how would I change the background for a field?&#60;br /&#62;
Thank You Your help is Always so greatly appreciated! &#60;/p&#62;
&#60;p&#62;Contact Form&#60;br /&#62;
&#60;a href=&#34;http://i.imgur.com/GGP22NU.jpg&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/GGP22NU.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;sliced CSS Background for Contact Form&#60;br /&#62;
&#60;a href=&#34;http://i.imgur.com/KSnoMz4.jpg&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/KSnoMz4.jpg&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-201395</link>
			<pubDate>Mon, 08 Apr 2013 14:58:42 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">201395@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No problem Chris
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-201389</link>
			<pubDate>Mon, 08 Apr 2013 14:53:44 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">201389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Richard.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-196576</link>
			<pubDate>Thu, 04 Apr 2013 10:41:35 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">196576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The placeholders are the tricky part, there are some plugins that will do it but you can also accomplish it using jQuery like so,&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;#39;#input_5_1&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Name&#38;#39;);
$(&#38;#39;#input_5_2&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Email&#38;#39;);
$(&#38;#39;#input_5_3&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;Phone&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;etc... and then use either css or jquery .hide to hide the existing field labels.  And as you say you can use css to add the images inside the fields and add padding to the left side of the fields to keep any entered text away from the images.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AlikA on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-196511</link>
			<pubDate>Thu, 04 Apr 2013 09:39:32 +0000</pubDate>
			<dc:creator>AlikA</dc:creator>
			<guid isPermaLink="false">196511@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;richardvav... You are a genius!&#60;br /&#62;
Thanks a lot!!! this is defiantly looking much better!!!!&#60;/p&#62;
&#60;p&#62;I thought about it long and hard:&#60;br /&#62;
To my knowledge Gforms dont allow you to pre-populate the forms, with text disappears when you click on the form (like in Contact Form7 for example). &#60;/p&#62;
&#60;p&#62;So I was thinking: can I set an image Background to each field?&#60;br /&#62;
Then have the background change on mouse over and on-click?&#60;br /&#62;
all I'd have to do then is; add padding-right to the text so the image in each form will be visible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-196263</link>
			<pubDate>Thu, 04 Apr 2013 04:06:59 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">196263@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The following should change the inputs backgrounds to white like so &#60;a href=&#34;http://imgur.com/3C0MVoV&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/3C0MVoV&#60;/a&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.gform_wrapper textarea, .gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
   background: white;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-196256</link>
			<pubDate>Thu, 04 Apr 2013 04:02:28 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">196256@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not an expert but I can get you started, a couple of quick changes to your form will start forming your basic layout like this &#60;a href=&#34;http://imgur.com/D6XcbZ2&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/D6XcbZ2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Start by editing your form and moving the inquiry field to the top, then edit it and to the CSS Class Name on the advanced tab I would add the class gf_right_half&#60;/p&#62;
&#60;p&#62;Next you want to edit all your other fields and add the class gf_left_half&#60;/p&#62;
&#60;p&#62;You can find out more about those ready made classes and other in the documentation here&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes&#60;/a&#62;&#60;br /&#62;
and the following page has examples of how to target the various elements using css&#60;br /&#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>AlikA on "Custom CSS"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css#post-195852</link>
			<pubDate>Wed, 03 Apr 2013 19:55:37 +0000</pubDate>
			<dc:creator>AlikA</dc:creator>
			<guid isPermaLink="false">195852@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am a Graphic Designer, with knowledge of Wordpress and Gravity forms GUI but not beyond. I want to customise a Contact form on my site. I've done as much as I could to aid the process I have a .PSD and set up all the classes for each field.&#60;br /&#62;
But now when it comes down to CSS we have a problem - I need to know if it is possible to do what I have planned. see here &#60;a href=&#34;http://d.pr/i/8PQx&#34; rel=&#34;nofollow&#34;&#62;http://d.pr/i/8PQx&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any CSS Pro can help me out to know where to get started, that would be great!&#60;br /&#62;
My current form is here: &#60;a href=&#34;http://flashpoets.co.za/photography-service&#34; rel=&#34;nofollow&#34;&#62;http://flashpoets.co.za/photography-service&#60;/a&#62; (then click BAND)&#60;/p&#62;
&#60;p&#62;Thanks a lot.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
