Support » Plugin: Easy FancyBox » Pop-up contact page with link to button on homepage

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH


    Hi Novice1, there is an example code snippet for how to display Inline content with FancyBox on under “Can I display INLINE content in a FancyBox overlay ?” but you’ll have to adapt this to show a contact form instead of the example text. It all depends on how you are creating a contact form on your website but let’s say you are using Jetpack and the Contact Form module and you have added a contact form the normal way, then just open the page in question for editing and switch to the HTML view tab. Now find the shortcode that represents the contact form, it shouls start with [contact-form ... and put this before it:

    <a href="#fancyboxID-1" class="fancybox">Read my inline content</a>
    <div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1" style="width:460px;height:380px;">

    and this after:


    Hope you can work with these instructions 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Pop-up contact page with link to button on homepage’ is closed to new replies.