Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #896851

    dhoward9
    Participant

    Hey there. Was wondering if we’ve ever figured out how to open a contact 7 form via text (not a button) using lightbox?

    I’ve inserted this into raw content within cornerstone:

    [contact-form-7 id=”178″ title=”Contact Form 1″]

    -styling: display: none;

    I’ve inserted this as my text hyperlink located in my footer:

    <a href="#178" class="a5 lightbox-selector">contact</a>

    [lightbox selector=”.lightbox-selector”]

    Whenever I click on this text, which says “Contact”, the lightbox appears BUT the contact form does not appear at all. After 2 seconds or so, the website reverts back to the page as it were before, but you can still see the lightbox close button in the top left of the page.

    So it seems like I’m not correctly calling the contact form. Any ideas?

    #896970

    dhoward9
    Participant
    This reply has been marked as private.
    #897579

    Rupok
    Member

    Hi there,

    Thanks for writing in! Unfortunately your given credentials not working. Please double check the username and password and update us with correct credentials.

    Thanks

    #897871

    dhoward9
    Participant
    This reply has been marked as private.
    #898406

    Christopher
    Moderator

    Hi there,

    Please add contact form in another page and set page’s template to Blank-Container|No Header-No Footer, then update your code to :

    <a href="http://yoursite.com/contact-form" class="a5 lightbox-selector">contact</a>
    
    [x_lightbox selector=".lightbox-selector"]

    Hope it helps.