Tagged: iframe lightbox video
I definded a link to Vimeo such as https://vimeo.com/8445XYZ and activated the option “open link in a new tab”. But Enfold automatically converts this in an iframe, adding the classes ‘mfp-iframe’ and ‘lightbox-added’. How can I prevent this? I definitively need a new tab for the video.
In this forum, I found some threads how to add the lightbox function (adding ?iframe=true and so on) but nothing about how to remove it. I tried out with adding ‘?iframe=false’ or a little JavaScript removing the two classes, without success.
Thank you!
Hey Christof_Deinhard,
Thank you for the inquiry.
Have you tried disabling the Lightbox Modal Window option in the Enfold > Theme Options panel? You can also add the “nolightbox” class to the link to prevent it from opening in the lightbox.
<a href="#" class="nolightbox">This is a link</a>
Best regards,
Ismael
Hi Ismael,
thank you! Now it works, disabling the Lightbox Modal Window option in the Theme Options.
Best regards,
Christof
Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike