<?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 file loading on every page, not just pages with forms.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms</link>
		<description>Gravity Support Forums Topic: Custom CSS file loading on every page, not just pages with forms.</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:39:14 +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-file-loading-on-every-page-not-just-pages-with-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Scot on "Custom CSS file loading on every page, not just pages with forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms#post-95100</link>
			<pubDate>Sat, 24 Nov 2012 09:43:16 +0000</pubDate>
			<dc:creator>Scot</dc:creator>
			<guid isPermaLink="false">95100@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Perfect. Thank you! That worked great.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Custom CSS file loading on every page, not just pages with forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms#post-76813</link>
			<pubDate>Sat, 22 Sep 2012 00:29:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">76813@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use the gform_enqueue_scripts filter:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_enqueue_scripts&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_enqueue_scripts&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scot on "Custom CSS file loading on every page, not just pages with forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms#post-76673</link>
			<pubDate>Fri, 21 Sep 2012 08:52:12 +0000</pubDate>
			<dc:creator>Scot</dc:creator>
			<guid isPermaLink="false">76673@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure. Here is the code: &#60;a href=&#34;http://pastebin.com/PrJFEdYc&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/PrJFEdYc&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you for taking a look at it David.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Custom CSS file loading on every page, not just pages with forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms#post-76669</link>
			<pubDate>Fri, 21 Sep 2012 08:44:42 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">76669@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post your code to pastebin or something similar so I can see it? There are many ways to conditionally load scripts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scot on "Custom CSS file loading on every page, not just pages with forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-css-file-loading-on-every-page-not-just-pages-with-forms#post-76666</link>
			<pubDate>Fri, 21 Sep 2012 08:04:55 +0000</pubDate>
			<dc:creator>Scot</dc:creator>
			<guid isPermaLink="false">76666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I created a plugin to enqueue a custom css file and it works great. Problem is, it loads on every page on the website and I need to make it smarter. How can I fire off wp_enqueue_style() only on pages where a GravityForms form is being loaded?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
