PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Css and javascript not being included in header.

  1. Gareth
    Member

    I’m building a theme based on the Wordpress default theme but when it is activated the css stylesheets and javascript source is not being included in my header.

    It doesn’t appear to be plugin related and if I swap to the default of classic themes everything is fine and I can see these includes when I view the source.

    In my new theme the form still displays and can be submitted but none of the css is applied and things like the date picker don’t appear.

    If I create a new page template header and hard code these it might work but it’d be good to understand what is happening…

    Any thoughts?

    Thanks!
    Gareth

    Posted 14 years ago on Tuesday March 9, 2010 | Permalink
  2. You need to make sure the new theme uses the wp_head() and wp_footer() calls in the appropriate places. This is usually the issue when the scripts aren't loaded. If the calls are there, double check that the "output css" option is enabled on the Gravity Forms settings page.

    Posted 14 years ago on Tuesday March 9, 2010 | Permalink
  3. Gareth
    Member

    I should probably be very embarrassed but its working and that makes me happy.

    This is an awesome plugin.

    Thanks

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink
  4. We're glad it's working and that you're happy too. Thanks for the update.

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink

This topic has been resolved and has been closed to new replies.