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.

Opening a form with EasyFancybox plugin

  1. Hi
    I am building a site and I am required to have a pop-out lightbox effect for a simple contact form. I have got it to work on a page/post however I need it to work in the header. I am using a Genesis theme and need the form to show from the right header widget area.
    This is the code I am using to call the form:

    <div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1">
        [gravityform id="1" ajax="true"]
        <a href="#fancyboxID-1" class="fancybox"><img src="/lt/images/home/email-us.png"></a>

    I am calling the form with an image link. The page the form is on is on my dev site here

    Any help would be very useful

    Posted 12 years ago on Thursday January 5, 2012 | Permalink
  2. Is it the "Email Us" button that should open the form in a lightbox, like the Order Now button works?

    Posted 12 years ago on Friday January 6, 2012 | Permalink
  3. Yes it is the email us button in the header area, I cannot get it to use shortcodes, I used a text widget in the header widget area.

    Posted 12 years ago on Friday January 6, 2012 | Permalink
  4. You can add support to your theme to process shortcodes in widgets. Will that help you?

    add_filter('widget_text', 'do_shortcode');

    Add that to your theme's functions.php and WordPress will process shortcodes in your widgets.

    Posted 12 years ago on Tuesday January 10, 2012 | Permalink
  5. The form opens up fine, though there it doesn't stay open when using a multi-page form. The popup closes when you click the Next button.

    Does anyone have any suggestions for multipage forms and lightbox popups?


    Posted 12 years ago on Tuesday January 17, 2012 | Permalink
  6. sascha

    Keep me posted..

    Posted 12 years ago on Wednesday January 18, 2012 | Permalink