<?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: Drop Down Fields Not Responsive</title>
		<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive</link>
		<description>Gravity Support Forums Topic: Drop Down Fields Not Responsive</description>
		<language>en-US</language>
		<pubDate>Tue, 14 Apr 2026 23:52: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/drop-down-fields-not-responsive" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-376181</link>
			<pubDate>Sun, 24 Aug 2014 16:24:40 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">376181@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The chosen.js script and styles for the enhanced ui were updated to version 1.1.0 in Gravity Forms 1.8.11.3 so manually loading the newer version is no longer required.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-282922</link>
			<pubDate>Tue, 28 May 2013 06:45:03 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">282922@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone who wants to see the responsive enhnaced dropdowns in action I have set a demo up @ &#60;a href=&#34;http://gravity.wawrzyniak.me/enhanced-uichosen-2/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.wawrzyniak.me/enhanced-uichosen-2/&#60;/a&#62;&#60;br /&#62;
there is also a second demo with takes it a step further and completely removes the gravity enhanced ui styles and replaces them with a cdn copy of the chosen css @ &#60;a href=&#34;http://gravity.wawrzyniak.me/enhanced-uichosen/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.wawrzyniak.me/enhanced-uichosen/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-276254</link>
			<pubDate>Sat, 25 May 2013 11:59:20 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">276254@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK so I have found a way for you to implement this today, first you will need to save the following file to your theme folder, the function below presumes you saved it to a folder named js inside your theme folder.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://raw.github.com/harvesthq/chosen/v0.9.14/chosen/chosen.jquery.min.js&#34; rel=&#34;nofollow&#34;&#62;https://raw.github.com/harvesthq/chosen/v0.9.14/chosen/chosen.jquery.min.js&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Next step is to copy the following function into your theme's functions file, it will check if the gravity forms chosen script has been enqueued for printing on a page and if so it will de-register it and then enqueue the updated script from your theme folder.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_enqueue_scripts&#38;#39;,&#38;#39;update_chosen&#38;#39;,10,2);
function update_chosen($form)
{
    if(wp_script_is(&#38;#39;gforms_chosen&#38;#39;,$list=&#38;#39;queue&#38;#39;)){
        wp_deregister_script(&#38;#39;gforms_chosen&#38;#39;);
	    wp_enqueue_script(&#38;#39;chosen-script&#38;#39;,get_template_directory_uri().&#38;#39;/js/chosen.jquery.min.js&#38;#39;,array(&#38;#39;jquery&#38;#39;),&#38;#39;0.9.14&#38;#39;,true);
    }
    return false;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now while still in your functions.php file add the following to set the width to 100% rather than a fixed width, this will be outputted to all forms&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_pre_render&#38;#39;,&#38;#39;set_chosen_width&#38;#39;);
function set_chosen_width($form){
    if(wp_script_is(&#38;#39;chosen-script&#38;#39;,$list=&#38;#39;queue&#38;#39;)){
        ?&#38;gt;
        &#38;lt;script&#38;gt;
	       gform.addFilter(&#38;#39;gform_chosen_options&#38;#39;,&#38;#39;set_chosen_options_js&#38;#39;);
	       function set_chosen_options_js(options,element){
		      options.width = &#38;#39;100%&#38;#39;;
              return options;
           }
        &#38;lt;/script&#38;gt;
        &#38;lt;?php
    }
	return $form;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Next you will need to add some &#60;a href=&#34;http://pastie.org/7958112&#34; rel=&#34;nofollow&#34;&#62;extra CSS&#60;/a&#62; to your theme's style.css file or wherever you are instructed to place custom CSS.&#60;/p&#62;
&#60;p&#62;And that's it, go check your page, you may need to clear your cache.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vegaskev on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-273745</link>
			<pubDate>Fri, 24 May 2013 14:53:48 +0000</pubDate>
			<dc:creator>vegaskev</dc:creator>
			<guid isPermaLink="false">273745@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks.....I appreciate your help folks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-260197</link>
			<pubDate>Sat, 18 May 2013 16:33:08 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">260197@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Kevin,&#60;/p&#62;
&#60;p&#62;You're welcome, I am glad to be able to help and offer members of the community assistance when I can.&#60;/p&#62;
&#60;p&#62;I have updated the version of chosen on a clean localhost instalation to test this out and it looks like when you eventually update the script you will also have to make a number of changes to the CSS, currently on page load the dropdowns are open at a fixed width and will not close, the good news is that the select does re-size &#60;a href=&#34;http://i.imgur.com/c288HQk.jpg&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/c288HQk.jpg&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-260096</link>
			<pubDate>Sat, 18 May 2013 14:56:45 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">260096@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@richardvav - thanks for the very thorough follow up. I assumed there must be a fix or a workaround for the chosen script but didn't get a chance to really research it yet. We all really appreciate you taking your time to help the community members here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-257706</link>
			<pubDate>Fri, 17 May 2013 09:59:20 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">257706@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The chosen.js developers have been working on this recently and have added support for percentage based widths to version 0.9.13&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/harvesthq/chosen/pull/1141&#34; rel=&#34;nofollow&#34;&#62;https://github.com/harvesthq/chosen/pull/1141&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Edit: Gravity Forms 1.7.3 includes version 0.9.8 once chosen version 0.9.13+ is merged into a future Gravity update I believe you would add this &#60;a href=&#34;http://pastie.org/7920859&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/7920859&#60;/a&#62; to your functions file to use a percentage width instead of the default fixed pixel width.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-257653</link>
			<pubDate>Fri, 17 May 2013 09:28:15 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">257653@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, so you're using the &#34;chosen&#34; advanced option.. I'l see what I can find out. Do you have the same problem using the standard select/drop down control?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vegaskev on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-255885</link>
			<pubDate>Thu, 16 May 2013 14:30:49 +0000</pubDate>
			<dc:creator>vegaskev</dc:creator>
			<guid isPermaLink="false">255885@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Kev,  Thanks for getting back to me.  I appreciate it.&#60;/p&#62;
&#60;p&#62;Absolutely, see link below.  The area that the forms are in will be private within the next few days, so if you don't get around to it until they're hidden, please email me and I'll get you login creds so you can take a look.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://restrainc.com/property/demo-property/&#34; rel=&#34;nofollow&#34;&#62;http://restrainc.com/property/demo-property/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I was just about to go in and modify the css for my cpt and then do my media queries to make my cpt posts responsive, when I noticed that the form drop-down wasn't responsive.&#60;/p&#62;
&#60;p&#62;I then went on and check about 5 or 6 forms on the site and that's when I noticed that the drop-down fields are not responsive....at least not for me.  All of the other GF fields work perfectly, just not those Kev.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Drop Down Fields Not Responsive"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-fields-not-responsive#post-255463</link>
			<pubDate>Thu, 16 May 2013 08:58:06 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">255463@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Strange. As far as I'm aware nothing changed in 1.7.2 that should affect that. Can you post a URL to your form page so we can take a look?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
