Hello, dear federicaleonori.
Thank you for your question.
To solve your problem you need to change some codes from the plugin. Please find the file Total-soft-gallery-video-widget.php. Edit the folder and on the line 3412 find the code
$ .prettyPhoto.open = function (event) {
if (typeof settings == “undefined”)
{
settings = pp_settings;
if ($. browser.msie && $. browser.version == 6) settings.theme = “light_square”;
_buildOverlay (event.target);
pp_images = $. makeArray (arguments [0]);
pp_titles = (arguments [1])? $. makeArray (arguments [1]): $. makeArray (“”);
pp_descriptions = (arguments [2])? $. makeArray (arguments [2]): $. makeArray (“”);
isSet = (pp_images.length> 1)? true: false;
set_position = 0;
}
The place of this code put this one:
$ .prettyPhoto.open = function (event) {
return
if (typeof settings == “undefined”)
{
settings = pp_settings;
if ($. browser.msie && $. browser.version == 6) settings.theme = “light_square”;
_buildOverlay (event.target);
pp_images = $. makeArray (arguments [0]);
pp_titles = (arguments [1])? $. makeArray (arguments [1]): $. makeArray (“”);
pp_descriptions = (arguments [2])? $. makeArray (arguments [2]): $. makeArray (“”);
isSet = (pp_images.length> 1)? true: false;
set_position = 0;
}
Thank You.
Hi there
I need the popup not to show automatically on desktop, but clicking a button will show it.
I use display: none and visibility: hidden
This is the link https://dev.azure-aruba.com/aruba-property-sale-oscard/