Tagged: gallery, iPad, Lightbox, mobile, portfolio item
Hi there,
I have inserted a gallery into the portfolio page which launches on click, this works great on desktop Burt when viewed on a mobile or tablet device it seems to conflict the the starboard enfold lightbox.
Please find the link to the page below:
http://uprisetestdomain.co.uk/hln/portfolio-item/hmp-parc-1/
Any help would be greatly appreciated.
Thanks,
Jykes
Hi Jyles!
This plugin “Galleria Fullscreen Theme”, that you have installed is conflicting with the current light box that enfold uses, you should try to dequeue the enfold light-box so you avoid conflicts. Which is going to disable this functionality on all of the pages, and leave your “Galleria Fullscreen Theme” in place.
Here is the link that shows how to do this.
http://codex.wordpress.org/Function_Reference/wp_dequeue_script
Regards,
David
Thanks David,
Do you know what the handle is for the lightbox? Would it be something like the below?
wp_dequeue_script( ‘lightbox’ );
wp_dequeue_script( ‘lightbox-init’ );
Thanks again,
Jyles
Hi David,
I have managed to disable the Lightbox feature, however the new gallery still fails to load on mobile or tablet. Any thoughts you might have would be greatly appreciated.
Thanks again,
Jyles
Hey!
I’m sorry but we don’t give support for third party plugins. Please contact the plugin author. Try to disable the default lightbox on js > avia.js, find this code on line 52:
//activates the prettyphoto lightbox
$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
Replace it with:
//activates the prettyphoto lightbox
//$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});
Regards,
Ismael