<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: Commentform and ajax_form Labels on Mobile Portrait View</title>
		<link>http://www.kriesi.at/support/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view</link>
		<description>Support Forum - Topic: Commentform and ajax_form Labels on Mobile Portrait View</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 09:14:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "Commentform and ajax_form Labels on Mobile Portrait View"</title>
			<link>http://www.kriesi.at/support/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view#post-79956</link>
			<pubDate>Tue, 16 Oct 2012 12:11:09 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">79956@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Glad it worked out!&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>profil77 on "Commentform and ajax_form Labels on Mobile Portrait View"</title>
			<link>http://www.kriesi.at/support/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view#post-79930</link>
			<pubDate>Tue, 16 Oct 2012 08:13:46 +0000</pubDate>
			<dc:creator>profil77</dc:creator>
			<guid isPermaLink="false">79930@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Nick,&#60;/p&#62;
&#60;p&#62;that's great. I told you two and a half issues and you solved three.&#60;/p&#62;
&#60;p&#62;1) Commentform: I took your first solution for all displays with margin-top:40px for #respond and added padding-bottom:10px for #commentform label.&#60;/p&#62;
&#60;p&#62;2) Contact form: The modification of class-form-generator.php works fine. I added margin-top:24px; for .ajax_form .text_area&#60;/p&#62;
&#60;p&#62;Thanks a lot. BR Bernd
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "Commentform and ajax_form Labels on Mobile Portrait View"</title>
			<link>http://www.kriesi.at/support/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view#post-79217</link>
			<pubDate>Wed, 10 Oct 2012 10:52:46 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">79217@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Please add this to quick css in the backend of the theme :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#commentform label {left: 2px; top: -25px}
#commentform p {padding: 0 0 40px 0}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The above takes care of the first issue, but affects all displays. If you only want to target the portrait mobile then instead use the css below&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;@media only screen and (max-width: 479px) {
#commentform label {left: 2px; top: -25px}
#commentform p {padding: 0 0 40px 0}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To change the contact form , please make a backup copy and then open class-form-generator.php in the /framework/php/ directory. Locate lines 155-157 which look like &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$this-&#38;gt;elements_html .= &#38;quot;&#38;lt;p class=&#38;#39;&#38;quot;.$p_class.&#38;quot;&#38;#39; id=&#38;#39;element_$id&#38;#39;&#38;gt;&#38;quot;;
			$this-&#38;gt;elements_html .= &#38;#39;    &#38;lt;input name=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot; class=&#38;quot;text_input &#38;#39;.$element_class.&#38;#39;&#38;quot; type=&#38;quot;text&#38;quot; id=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot; value=&#38;quot;&#38;#39;.$value.&#38;#39;&#38;quot;/&#38;gt;&#38;lt;label for=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot;&#38;gt;&#38;#39;.$element[&#38;#39;label&#38;#39;].$required.&#38;#39;&#38;lt;/label&#38;gt;&#38;#39;;
			$this-&#38;gt;elements_html .= &#38;quot;&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and replace them with this block:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$this-&#38;gt;elements_html .= &#38;#39;&#38;lt;label for=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot;&#38;gt;&#38;#39;.$required.&#38;quot; &#38;quot;.$element[&#38;#39;label&#38;#39;].&#38;#39;&#38;lt;/label&#38;gt;&#38;#39;;
			$this-&#38;gt;elements_html .= &#38;quot;&#38;lt;p class=&#38;#39;&#38;quot;.$p_class.&#38;quot;&#38;#39; id=&#38;#39;element_$id&#38;#39;&#38;gt;&#38;quot;;
			$this-&#38;gt;elements_html .= &#38;#39;    &#38;lt;input name=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot; class=&#38;quot;text_input &#38;#39;.$element_class.&#38;#39;&#38;quot; type=&#38;quot;text&#38;quot; id=&#38;quot;&#38;#39;.$id.&#38;#39;&#38;quot; value=&#38;quot;&#38;#39;.$value.&#38;#39;&#38;quot;/&#38;gt;&#38;#39;;
			$this-&#38;gt;elements_html .= &#38;quot;&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Also please add the block below to Quick CSS&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.ajax_form .textare_label {
top: -20px;
left: 0%;
margin-left: 0px;
}
.ajax_form p {
padding: 0 0 20px 0;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Let us know if it worked out as you needed. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>profil77 on "Commentform and ajax_form Labels on Mobile Portrait View"</title>
			<link>http://www.kriesi.at/support/topic/commentform-and-ajax_form-labels-on-mobile-portrait-view#post-79008</link>
			<pubDate>Mon, 08 Oct 2012 18:13:36 +0000</pubDate>
			<dc:creator>profil77</dc:creator>
			<guid isPermaLink="false">79008@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;My client's site is already online - &#60;a href=&#34;http://arnikaprojekt-hof.de&#34; rel=&#34;nofollow&#34;&#62;http://arnikaprojekt-hof.de&#60;/a&#62; -  everything worked fine. Two problems stay:&#60;/p&#62;
&#60;p&#62;1) On Mobile Portrait View the #commentform label (position: absolute / left:245 px) disappears on the right side of the display.&#60;/p&#62;
&#60;p&#62;2) A similiar problem appears with the last label of our contact form (Ihre Nachricht). The first 5 lables are positioned under the formfield (why under?), the last one stays right of the textarea.&#60;/p&#62;
&#60;p&#62;Thanks a lot. Bernd
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
