Inserting lead capture form?

Discussion in 'Appointway WordPress Theme' started by ericeholder, Jun 2, 2014.

  1. ericeholder

    ericeholder Guest

    Joined:
    May 31, 2014
    Messages:
    3
    Likes Received:
    0
    I have figured out how to remove the appointment booking widget on the homepage and replace it with the lead capture form, but I can only do that on the homepage and in the sidebar area of other pages by dragging the lead capture widget into the sidebar from within the "widgets" area.

    I want to be able to place that lead capture form in the center of a page, like my contact us page. I don't want the form in the sidebar area of my contact us page, I want it to be in the center of the contact us page and be the focal point.

    Where can I get the HTML code or the shortcode for the lead capture form I created and place it in the centre of my contact us page?

    Thanks - Eric
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to template-contact.php present in your theme directory and add the code given below

    Code:
    echo "<div class='apt-lead'>";
    if (function_exists('appointway_leadform'))
       appointway_leadform();
       echo "</div>"; 

    check image for reference
    2014-06-03_1134.png



    now,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    div.apt-lead {
    margin-left: 50%;
    }
     
    Thanks & Regards
    Gourav Shrivastava
     

Share This Page