<?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: CSS output on footer</title>
		<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer</link>
		<description>Gravity Support Forums Topic: CSS output on footer</description>
		<language>en-US</language>
		<pubDate>Sun, 12 Apr 2026 17:33:53 +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/css-output-on-footer" rel="self" type="application/rss+xml" />

		<item>
			<title>GregR on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-49484</link>
			<pubDate>Wed, 15 Feb 2012 12:02:44 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">49484@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;no one has idea?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-49195</link>
			<pubDate>Sun, 12 Feb 2012 12:05:19 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">49195@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;sorry not to get earlier&#60;/p&#62;
&#60;p&#62;I have managed to make it work on a blank theme&#60;br /&#62;
but now I want to integrate it onto my test theme&#60;/p&#62;
&#60;p&#62;I manage to have the css output in the header part if I add gravity_form_enqueue_scripts(2, true); to header.php just above the wp_header() function&#60;/p&#62;
&#60;p&#62;but if I want to call it from the functions.php with a function like this one &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;after_setup_theme&#38;#39;, &#38;#39;icTemp_theme_setup&#38;#39; );
function icTemp_theme_setup()
{
add_action(&#38;#39;wp_head&#38;#39;, &#38;#39;gr_add_headers&#38;#39;);
}

function gr_add_headers()
{
// je rajoute les fonts google dont j&#38;#39;ai besoin
echo &#38;#39;&#38;lt;link href=&#38;quot;http://fonts.googleapis.com/css?family=Open+Sans:200,400,700 &#38;quot; rel=&#38;quot;stylesheet&#38;quot; type=&#38;quot;text/css&#38;quot; /&#38;gt;&#38;#39;.chr(13);
// je rajoute les scripts necessaire pour gravity forms
gravity_form_enqueue_scripts(2, true);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;it is outputed on the footer while the google font reference is well outputed on the header part.&#60;/p&#62;
&#60;p&#62;any idea why there is that behavior?&#60;/p&#62;
&#60;p&#62;thank you in advance cause I'm a bit lost there
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48410</link>
			<pubDate>Mon, 06 Feb 2012 02:31:26 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">48410@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Rob&#60;/p&#62;
&#60;p&#62;Thank you for the reply&#60;/p&#62;
&#60;p&#62;I have set up a blank theme&#60;/p&#62;
&#60;p&#62;functions.php -&#38;gt; none&#60;/p&#62;
&#60;p&#62;header.php &#38;amp; footer.php&#60;br /&#62;
to it's simple &#60;/p&#62;
&#60;p&#62;I have added to the header&#60;br /&#62;
&#60;code&#62;gravity_form_enqueue_scripts(1, true);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I use GF function call like that in my front-page.php&#60;/p&#62;
&#60;p&#62;&#60;code&#62;gravity_form(1, false, false, false, &#38;#39;&#38;#39;, true, 12);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I still have the CSS output at the bottom&#60;/p&#62;
&#60;p&#62;here is a link&#60;br /&#62;
&#60;a href=&#34;http://test.ingenieurscreatifs.com/&#34; rel=&#34;nofollow&#34;&#62;http://test.ingenieurscreatifs.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;the strange part is that if I remove &#60;code&#62;gravity_form_enqueue_scripts(1, true);&#60;/code&#62;&#60;br /&#62;
I still have the css output at the bottom&#60;/p&#62;
&#60;p&#62;any idea?&#60;/p&#62;
&#60;p&#62;cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48378</link>
			<pubDate>Sun, 05 Feb 2012 09:44:09 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">48378@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greg, yeah usually our stuff gets output in the head, so I'm not 100% sure how or why in this instance yours is getting output in the footer. Can you compare with one of your other sites to find a common difference?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48370</link>
			<pubDate>Sun, 05 Feb 2012 00:29:13 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">48370@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;thank you for your answers&#60;/p&#62;
&#60;p&#62;@Rob&#60;br /&#62;
yes I use wp_head() and wp_footer()&#60;br /&#62;
it is a very basic template that I have hand coded&#60;br /&#62;
what I'm surprised is that I have used a basis of another theme I coded, where I used GF with no problem.. I was wondering if it could not be from GF plugin preferences on the admin side&#60;/p&#62;
&#60;p&#62;@Kyle&#60;br /&#62;
yes I could write a more specific CSS, that would sort my current problem but that would not defeat the fact that I wish to have the gravity form CSS file to be printed thru the wp-head() rather than the wp_footer()&#60;/p&#62;
&#60;p&#62;thank you again
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kyle on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48361</link>
			<pubDate>Sat, 04 Feb 2012 19:37:00 +0000</pubDate>
			<dc:creator>kyle</dc:creator>
			<guid isPermaLink="false">48361@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You should be able to write more specific CSS which will overwrite the gravity forms CSS.  So instead of&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.gform_body { /*styles */ }&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You can be more specific:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;body .content .gform_body { /*styles here take precedence */ }&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48357</link>
			<pubDate>Sat, 04 Feb 2012 19:25:39 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">48357@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hard to tell without looking but it sounds like this would be a theme related preference. Does your theme use wp_head() and wp_footer()?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GregR on "CSS output on footer"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/css-output-on-footer#post-48351</link>
			<pubDate>Sat, 04 Feb 2012 15:47:39 +0000</pubDate>
			<dc:creator>GregR</dc:creator>
			<guid isPermaLink="false">48351@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;br /&#62;
I'm doing something wrong and I can't find out where&#60;/p&#62;
&#60;p&#62;gravity form css file is printed on my footer, which I don't want because then I can hardly rewrite it with my style.css&#60;/p&#62;
&#60;p&#62;where do I have screw up thing (probably in function.php) but can't find out&#60;/p&#62;
&#60;p&#62;what is the function to force the gravity form to be printed on the footer? so that I can remoive it&#60;/p&#62;
&#60;p&#62;thank you for your help
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
