<?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: Different Layout for multipage Forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/different-layout-for-multipage-forms</link>
		<description>Gravity Support Forums Topic: Different Layout for multipage Forms</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:18: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/different-layout-for-multipage-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>heimo on "Different Layout for multipage Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-layout-for-multipage-forms#post-219605</link>
			<pubDate>Mon, 22 Apr 2013 16:16:07 +0000</pubDate>
			<dc:creator>heimo</dc:creator>
			<guid isPermaLink="false">219605@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks a lot for your reply. That is something I already figured out. Maybe I was not clear enough on what to design :) My problem is, that I want to style the &#38;lt;div class=&#34;main&#34;&#38;gt; differently for the different sections/pages. Is it possible to somehow implement a class to the body tag according to the ID of the form section.&#60;/p&#62;
&#60;p&#62;Like: &#60;/p&#62;
&#60;p&#62;ID: #gform_page_1_1&#60;br /&#62;
&#38;gt;&#38;gt;&#38;gt; &#38;lt;body class=&#34;main-gform-page-1-1&#34;&#38;gt; or similar&#60;/p&#62;
&#60;p&#62;That would be awesome since it's not possible to style parent tags with CSS.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Different Layout for multipage Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-layout-for-multipage-forms#post-218864</link>
			<pubDate>Mon, 22 Apr 2013 06:59:35 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">218864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can style the inputs on each page of a multi-page form differently because each page is wrapped in it's own div which is assigned a unique id.&#60;/p&#62;
&#60;p&#62;For example to target just text inputs on page 1 you can target them by specifying the page number in the css selector like so, the first number is your form number and the second number is the page number.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.gform_wrapper #gform_page_1_1 input[type=text] {
    border: 1px solid red;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So the following example is how you would just target the text inputs on page two of the multi-page form&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.gform_wrapper #gform_page_1_2 input[type=text] {
    border: 1px solid blue;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard&#60;br /&#62;
--&#60;br /&#62;
Just another member of the community helping out where I can
&#60;/p&#62;</description>
		</item>
		<item>
			<title>heimo on "Different Layout for multipage Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-layout-for-multipage-forms#post-218504</link>
			<pubDate>Mon, 22 Apr 2013 04:11:09 +0000</pubDate>
			<dc:creator>heimo</dc:creator>
			<guid isPermaLink="false">218504@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi. I want to create a multipage form where I have 3 input fields on the first section. I want that first section to be a bit more visually appealing. In sections 2 and 3 i want a more traditional design. &#60;/p&#62;
&#60;p&#62;Since the sections are loaded via jQuery and are not really on different sections I run into the problem that i cannot apply different styles. &#60;/p&#62;
&#60;p&#62;Particularly i want to style the .main class which will contain the multipage form. Does any of you know how to solve it? &#60;/p&#62;
&#60;p&#62;My theme uses different body classes for different pages. So maybe I should create 3 different forms which are connected with redirects. &#60;/p&#62;
&#60;p&#62;Or am I leading in a completely wrong direction?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
