-
AuthorPosts
-
December 17, 2014 at 12:12 am #369248
Hi, I had set up my contact form to open in a light box according to the instructions here: https://kriesi.at/support/topic/page-in-lightbox/ when I created my site and it worked perfectly.
Now that I have updated WP and the enfold theme to 3.0.4 it stopped working and doesn’t open the contact form in a light box any more.
Please advice.
The site link is: http://www.acuantcorp.comThanks
December 17, 2014 at 4:51 am #369325Hey tamysh!
Thank you for using Enfold.
You can refer to the solutions provided here:
https://kriesi.at/support/topic/contact-form-in-pop-up-prettyphoto-issue/#post-304173
https://kriesi.at/support/topic/page-in-lightbox/#post-351306If you’re going to create a new page for the contact form, just add the ?iframe=true query at the very of the url. Something like this:
<a href="http://www.mysite.com/contactpage?iframe=true">Open This On a Lighbox</a>
Regards,
IsmaelJanuary 27, 2015 at 3:01 pm #386248Hi Ismael,
I added ?iframe=true as you suggested and it opens in a lightbox but not showing properly
Please press the contact form on the following page and see how it looks.:http://www.acuantcorp.com/contact-us
Please advice
Thanks
TammyJanuary 28, 2015 at 9:34 am #386822Hi!
Alright. Instead of creating a new page, try to open an inline content using lightbox. Refer to this link: https://kriesi.at/support/topic/open-form-in-a-lightbox-popup/#post-378079
Best regards,
IsmaelJanuary 28, 2015 at 10:12 am #386848I can’t use another form, I must use that external on.
Can you tell me how can I increase the light box size?
I think is I increase it my problem will be solved.January 29, 2015 at 7:34 pm #387930Hey!
You can use this CSS to increase the width of the popup.
.mfp-iframe-holder .mfp-content { max-width: 1200px !important; }
Cheers!
ElliottJanuary 29, 2015 at 8:02 pm #387941Hi Elliott, this works!! Thank you very much.
I tried to add also
max-height: 900px !important;
but this doesn’t work.
Any idea?January 30, 2015 at 12:36 am #388057Hey!
I think 900px is what it uses by default. If you want to increase it then you’ll need to try something bigger.
Regards,
ElliottFebruary 1, 2015 at 10:47 am #388991Hi Eliot,
The problem is solved on regular buttons located in the pages, like the contact us button on the following pages:
http://www.acuantcorp.com/contact-us
http://www.acuantcorp.com/web-services
http://www.acuantcorp.com/mobile
But, as you can see on our site we have a custom Contact us floating button that we added.
On the previous Enfold version adding ?iframe=true worked fin and the form was opened in a light box, but now, in the new version 3.0.4 the light box is not working on this button, the class lightbox-added is not added to the a href.
mfp-iframe class is added but lightbox-added is missing. (I compared with the html created from the pages listed above)
Any idea why? any idea how to solve this?Thanks
TammyFebruary 2, 2015 at 9:06 pm #389646Hey!
How are you adding the button? What happens when you add the button inside the main content of your page?
Cheers!
ElliottFebruary 8, 2015 at 12:13 pm #392698Hi Elliott,
You can close this thread.
I hired a programmer who succeeded to solve the JavaScript conflict between the new light box and my custom button.Thanks for solving the problem on the regular buttons.
-
AuthorPosts
- The topic ‘Lightbox stoped working after I Updatedthe to Enfold 3.0.4’ is closed to new replies.