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.

No GF css files being written page.

  1. Have a 6 field form on latest WP and GF. The form operates correctly but GF css's aren't writing to the pages. I have verified that css is enabled in the settings and have tried switching to the default theme, no go.
    Ideas? Thanks.

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  2. Sounds like you probably need to enqueue the scripts and styles, see the bottom of this page here:

    http://www.gravityhelp.com/documentation/page/Embedding_A_Form

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  3. I have already tried that. Dug around in the 'enqueue_form_scripts' function and found out the rg_gforms_disable_css option is not set to true, so after tinkering more I found this odd behavior. The 'Output CSS' selector won't stick. If I select yes and click save the page will refresh with 'options saved' and the setting set to 'on'. But if I navigate to another screen then go back to settings the option will be set to 'off'. All the other settings stick just not this one. The setting for 'Output CSS' doesn't truly set.

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  4. What version of GF are you running and do you have a link to the form?

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  5. privately send you link?

    PHP Version 5.2.17
    MySQL Version 5.1.58
    WordPress Version 3.3.1
    Gravity Forms Version 1.6.3.3.4

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  6. Go ahead and send me a WP login to rob@rocketgenius.com so I can take a look around. Reference this post in your email if you could.

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  7. In response to Rob's:
    "Hey Keith, there is something in your functions file that is causing the setting to not be saved (if you switch to the default theme it will work). We've only seen this issue happen before on organic themes because they specifically set ours to off so they include their own gravity forms stylesheet."

    Thanks Rob, with this clue I was able to find that the base theme we are using 'Bootstrap' has a class check (class_exists('RGForms')) located in the /inc/roots-cleanup.php that messes with some of the Gravity Forms setup. In the comments for this check it states (in progress) which clues me in that they are working on it.

    I commented out all the functions in that check and now all is well.
    Thanks for the help!

    Posted 12 years ago on Thursday April 12, 2012 | Permalink
  8. Right on, thanks for posting your findings as well!

    Posted 12 years ago on Thursday April 12, 2012 | Permalink

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