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.

Gravity Forms - Putting form in Widget Area

  1. I do not seem to be able to put any Gravity forms in the widget area of my blog.

    I presently have Yoast Gravity Forms Widget Plugin that puts it in the Widget area, but it also throws off the formating. The formatting changes depending upon what page is viewed. Also, seems to inherit some information from the Blog if looking at the Blog, or a single post.

    I am not looking for support on Yoast Widget as that is a 3rd party app.

    I looking to see how I can get Gravity Forms input into the Widget area of my blog. In the searches on the forum it appears that I need to copy styling from the Gravity form to my stylesheet. I am at a loss of what I need to copy.

    I am presently using FlexxTheme from Ithemes. Website is: http://www.jeremiahwean.com

    Posted 14 years ago on Tuesday March 9, 2010 | Permalink
  2. Here's the easiest way to do it for you.

    Go into the /wp-content/plugins/gravityforms/css/ folder, open the forms.css file and copy the entire contents. Then go to your theme's style.css file, open that and paste the form styles at the very bottom of the style sheet. Don't overwrite anything, just append the styles to the bottom of the existing CSS.

    Then, go to the Gravity Forms settings page in the admin, and set the "output css" option to no.

    screenshot

    This way, the Gravity Forms styles will load on every page and will be available for your widget.

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink
  3. That seems to work. But I still have to use the Yoast Plugin. Pasting the shortcode in the widget area does not bring up the form. Is that what is supposed to happen?

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink
  4. By default, shortcodes don't work in widgets so it's just easier to use the Yoast plugin. You can, however, enable shortcodes in widgets by adding a simple code snippet to your functions.php file if you want to do that.

    http://www.wprecipes.com/how-to-add-shortcodes-in-sidebar-widgets

    Either way, you'll still need to load the form styles manually.

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink
  5. I appreciate the help. That did the trick. I am definitely a newbie when it comes to wordpress and any code.

    Posted 14 years ago on Friday March 12, 2010 | Permalink

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