-
AuthorPosts
-
April 23, 2016 at 1:23 pm #896851
dhoward9ParticipantHey 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?
April 23, 2016 at 4:50 pm #896970
dhoward9ParticipantThis reply has been marked as private.April 24, 2016 at 12:33 pm #897579
RupokMemberHi 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
April 24, 2016 at 6:39 pm #897871
dhoward9ParticipantThis reply has been marked as private.April 25, 2016 at 5:41 am #898406
ChristopherModeratorHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-896851 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
