<?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: After upgrading to 1.7.x, Datepicker.css is always loaded</title>
		<link>https://legacy.forums.gravityhelp.com/topic/after-upgrading-to-17x-datepickercss-is-always-loaded</link>
		<description>Gravity Support Forums Topic: After upgrading to 1.7.x, Datepicker.css is always loaded</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:32:21 +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/after-upgrading-to-17x-datepickercss-is-always-loaded" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "After upgrading to 1.7.x, Datepicker.css is always loaded"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-upgrading-to-17x-datepickercss-is-always-loaded#post-263514</link>
			<pubDate>Mon, 20 May 2013 15:36:17 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">263514@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome
&#60;/p&#62;</description>
		</item>
		<item>
			<title>growthspark on "After upgrading to 1.7.x, Datepicker.css is always loaded"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-upgrading-to-17x-datepickercss-is-always-loaded#post-263513</link>
			<pubDate>Mon, 20 May 2013 15:35:46 +0000</pubDate>
			<dc:creator>growthspark</dc:creator>
			<guid isPermaLink="false">263513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Brilliant! Worked like a charm.  Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "After upgrading to 1.7.x, Datepicker.css is always loaded"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-upgrading-to-17x-datepickercss-is-always-loaded#post-263508</link>
			<pubDate>Mon, 20 May 2013 15:28:44 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">263508@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It looks like you are correct, datepicker.css is being enqueued whether there is a datepicker field present on the form or not.&#60;/p&#62;
&#60;p&#62;As a workaround try adding the following to your theme's functions.php file, it will check to see if the datepicker initialisation script has been enqueued and if it hasn't it will prevent the datepicker.css file from being included on the page.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_enqueue_scripts&#38;#39;,&#38;#39;deregister_datepicker_css&#38;#39;,10,2);
function deregister_datepicker_css($form)
{
    if(!wp_script_is(&#38;#39;gforms_datepicker&#38;#39;,$list=&#38;#39;queue&#38;#39;)){
        wp_deregister_style(&#38;#39;gforms_datepicker_css&#38;#39;);
    }
    return false;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>growthspark on "After upgrading to 1.7.x, Datepicker.css is always loaded"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/after-upgrading-to-17x-datepickercss-is-always-loaded#post-263501</link>
			<pubDate>Mon, 20 May 2013 14:49:55 +0000</pubDate>
			<dc:creator>growthspark</dc:creator>
			<guid isPermaLink="false">263501@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a page on my site that uses a gravity form, and there is a jQuery datepicker also in use on the page, though it is not part of the form itself.   After upgrading to 1.7.x it looks like Gravity Forms is now loading a datepicker.css file on the page, even though my form isn't using a datepicker in it.  The stylesheet's rules are messing up my other datepicker, so I'd prefer if it wasn't loaded but I am relying on some of the other GF styles, which means I can't just disable GF's CSS completely.  Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
