-
AuthorPosts
-
July 23, 2015 at 7:50 am #338197
Hi there.
I am trying to put a form in a lightbox and after finding loads of forum posts saying not do-able I did find this work around …
#173227 https://community.theme.co//forums/topic/button-to-lightbox-with-a-form-inside/My issue is that I have followed instructions 1 & 2 but where am I supposed to put “Step 3: Add a [lightbox] shortcode and under selector field add .lightbox-form.” ??
On the blank form page? On the page I want to utilise the form? In custom css somewhere? Where … and how using Cornerstone which doesn’t seem to have the lightbox as a shortcode option that I can see?I have made a new named page … ‘lightbox form page’
on which I have placed … [si-contact-form form=’1′] (which is working fine in a sidebar on another page)
I have then added a creative CTA on my home page which I have given the unique ID “form-button”, linked it to http://www.mysite/lightbox-form-page/ and finally given it the “lightbox-form” under the CTA’s classThen what?!
I’m sure I’m getting all my names, classes and ID’s a bit mixed up !!??
TIA
July 23, 2015 at 10:19 am #338301Hi There,
Thanks for writing in! Although I am confused what you actually want and what you tried. However if you are using Cornerstone to edit the page and want to use lightbox shortcode, then you can just use the Raw Content element and place your shortcode into that. Hope that makes sense.
If you still have any confusion, please clarify a bit simply. We’ll be happy to assist you.
Cheers!
July 23, 2015 at 1:23 pm #338479Yes, still confused sorry!
I want a button on my home page which links to a contact form which pops up in a lightbox. Simples?
Apparently not!
As I say, I have set up a blank no header, no footer page and stuck the form element on it [si-contact-form form=’1′] (outside of cornerstone). I’ve added the button to my home page and linked it to the page. I just now need the page opening in a lightbox, not as a regular webpage.
Look here;
http://www.cornwallparkhomesforum.org.uk/
Scroll to the contact the forum button … I need/want it opening in a lightbox.
TIAJuly 23, 2015 at 5:13 pm #338717Hi Tia,
You can use this code to open a form in lightbox on clicking a button.
[button shape="square" size="mini" float="none" info="none" info_place="top" info_trigger="hover" href="http://www.cornwallparkhomesforum.org.uk/lightbox-form-page/"]Contact Us[/button] [lightbox selector=".x-btn" opacity="0.875" prev_scale="0.75" prev_opacity="0.75" next_scale="0.75" next_opacity="0.75" orientation="horizontal"]
Let us know how this goes!
July 23, 2015 at 5:43 pm #338741Thanks. Really. But, sorry again … it doesn’t! It did open the form page but it was still opening full page width as a regular page might. Not semi-transparent, page centered etc. etc. as a lightbox should.
I have the button already sorted anyway. I don’t want to change my existing button, I want to keep the Creative CTA button as I have it now on the page:
http://www.cornwallparkhomesforum.org.uk/
I just want it opening the linked form in a lightbox.
Heavens. I have to say this is extremely basic and a function I have never had an issue with any other theme or page-building software. Why is it so hard to create in such an A-rated theme as X for goodness sake? A form in a lightbox … doh … double doh!!!
I tried removing your suggested button and it’s styling and instead associating the [lightbox selector= etc. to the existing button but I’m not certain where I should be trying to place the [lightbox selector= shortcode. I’m so close to finishing this site and this is driving me nuts!
Help!!!July 23, 2015 at 11:22 pm #338965Hello There,
Would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
July 24, 2015 at 1:41 am #339079This reply has been marked as private.July 24, 2015 at 3:58 am #339184Hi,
Sorry for the confusion.
Regretfully, this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
-
AuthorPosts