Lightbox gone after 17.8.3 update
I have some iframes opened inside "lightbox" with the help of Visual Composer's "Icon Box". In this way, the content works as a modal window.
After upgrading to BeTheme 17.8.3, the "Lightbox" just don't appear. The iframe is opened in a new navigator tab.
Getting things back to 17.8.2 all works again.
Tried to update plugins to the last version included in 17.8.4 don't help. With the last plugin version and with BeTheme up to 17.8.2 all works ok. So, no plugins problems, just something wrong with BeTheme...
After upgrading to BeTheme 17.8.3, the "Lightbox" just don't appear. The iframe is opened in a new navigator tab.
Getting things back to 17.8.2 all works again.
Tried to update plugins to the last version included in 17.8.4 don't help. With the last plugin version and with BeTheme up to 17.8.2 all works ok. So, no plugins problems, just something wrong with BeTheme...
Comments
Please send a link to the website and point us in the right direction.
thanks
Scroll down the "hero" image and click over any of the aircrafts "Icon Boxes" you'll find. You will get a "Lightbox" dialog with an iframe content. The content could be any "normal" Wordpress page.
Right now, the site is working with BeTheme 17.8.1 . After upgrading to the next version, the content appear in a new tab, not inside any "Lightbox" ... Sorry, obviously I can't show you both situations ...
You can use this plugin to quickly copy the site : https://wordpress.org/plugins/duplicator/
We really cannot say what is wrong if everything is working right.
Now you can go to https://www.skydrones.aero/formacion/habilitacion-de-pilotos-rpas-para-multi-rotores/
and see how the content isn't opened in a "Lightbox" ....
<a rel="prettyphoto" href="#you-custom-id">link</a>
<div id="you-custom-id" style="display:none">popup content here</div>
thanks
https://www.skydrones.aero/bautismo-de-vuelo/
at the end of the scroll, on the right side, there are two buttons. Upper one is an "Advanced Button" from the "Ultimate Add-ons for ..." package, and the following is your shortcode [button] .
Both worked correctly up to 17.8.2
https://themeforest.net/item/betheme-responsive-multipurpose-wordpress-theme/7758048#item-description__changelog
Version 17.8.3
In my honest opinion, you can't make this change without a previous evaluation of the damages.
It's ok if you think that "Magnific Popup" is best than PrettyPhoto, but you can't damage your clients websites.
rel="ligtbox"
rel="prettyphoto"
Everything is working fine. You are adding some iframes, we do not support custom code you put in your website. If you check on a photo it will work fine.
http://prntscr.com/fgy2k0
And they both work http://prntscr.com/fgy2y0
Javascript supports the onclick event for any object. Why don't you add the OnClick to any object where you have placed a Link property in the same way you did with the "button" object?
Here https://goo.gl/RXE3pm you can see in the first yellow band, several "Feature Boxes"; as there isn't any way to interact with the OnClick event, a button with "more info" should be used; it's doing their job but isn't the more aesthetic solution.
Why don't add the OnClick to any "clickable" item?
But, please, take note about the fact that your "button" shortcode includes a "onclick" field to fill in the OnClick event for the underlying object.
At last, to be coherent along all shortcode objects, all items including a button should has this same field. Just take it in consideration for future updates.
Thanks for your help