I don't understand why every click I do on my website open a shade screen with nothing inside, that avoid every action on the site. It will only disappear with Esc touch and not even the X on the top right corner.
I tried to deactivate all plugins and had a look at every option but can't find the solution.
I even tried to do the procedure indicated here on the forum and delete the term swipebox in Appearance-> Editor / assets / js / customjs, but it didn't work.
This is a problem with the WP 5.6 update using lightbox with swipebox, to fix this problem go to Appearance-> Editor / assets / js / customjs (or global.js) and search for js then delete them
$( '.swipebox' ).swipebox( { useCSS : true, // false will force the use of jQuery for animations useSVG : true, // false to force the use of png for buttons initialIndexOnArray : 0, // which image index to init when a array is passed hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices removeBarsOnMobile : true, // false will show top bar on mobile devices hideBarsDelay : 3000, // delay before hiding bars on desktop videoMaxWidth : 1140, // videos max width beforeOpen: function() {}, // called before opening afterOpen: null, // called after opening afterClose: function() {}, // called after closing loopAtEnd: false // true will return to the first image after the last image is reached } );
Hi Kevin, I did send you our user name and password on the other ticket I have. I don't want to put it here. I have to have this site ready for Sunday. I hope we can figure out why this is happening.
I followed the instructions and it is ok : no more black overlay... but fullscreen/lighbox on photos doesnt work now, it takes me to the photo page. How we can solve this please ?
# let's add this code back at assets / js / custom.js to get it working again
#Note:please clear Cache and check again
$( '.swipebox' ).swipebox( { useCSS : true, // false will force the use of jQuery for animations useSVG : true, // false to force the use of png for buttons initialIndexOnArray : 0, // which image index to init when a array is passed hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices removeBarsOnMobile : true, // false will show top bar on mobile devices hideBarsDelay : 3000, // delay before hiding bars on desktop videoMaxWidth : 1140, // videos max width beforeOpen: function() {}, // called before opening afterOpen: null, // called after opening afterClose: function() {}, // called after closing loopAtEnd: false // true will return to the first image after the last image is reached } );
I don't understand why every click I do on my website open a shade screen with nothing inside, that avoid every action on the site. It will only disappear with Esc touch and not even the X on the top right corner.
I tried to deactivate all plugins and had a look at every option but can't find the solution.
I even tried to do the procedure indicated here on the forum and delete the term swipebox in Appearance-> Editor / assets / js / customjs, but it didn't work.
Need help...
Best regards
Hi Ronaldo
This is a problem with the WP 5.6 update using lightbox with swipebox, to fix this problem go to Appearance-> Editor / assets / js / customjs (or global.js) and search for js then delete them
$( '.swipebox' ).swipebox( { useCSS : true, // false will force the use of jQuery for animations useSVG : true, // false to force the use of png for buttons initialIndexOnArray : 0, // which image index to init when a array is passed hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices removeBarsOnMobile : true, // false will show top bar on mobile devices hideBarsDelay : 3000, // delay before hiding bars on desktop videoMaxWidth : 1140, // videos max width beforeOpen: function() {}, // called before opening afterOpen: null, // called after opening afterClose: function() {}, // called after closing loopAtEnd: false // true will return to the first image after the last image is reached } );Your problem will be solved
We are continuing to optimize the issue, all themes will be updated to fix the problem and related issues, please follow the above themes. https://themeforest.net/user/themeftc/portfolio
thanks
I tried this just now and it doesn't work. I am still getting the black box. I am on 5.7
Hi Stephanie E Kilburn !
Go to Appearance-> Editor / assets / js and update these 2 js files "jquery.swipebox.min.js" and "jquery.swipebox.js" in the form below.
https://github.com/brutaldesign/swipebox/blob/master/src/js/jquery.swipebox.min.js
thanks
I tried this under both Jquery.swipebox.min.js and jquery.swipebox.js and it does not work still
Hi Stephanie E Kilburn
Please provided your wp-admin account, I will check the details of the problem and help you adjust on the site
thank you
Hi Kevin, I did send you our user name and password on the other ticket I have. I don't want to put it here. I have to have this site ready for Sunday. I hope we can figure out why this is happening.
Hi Kevin
I followed the instructions and it is ok : no more black overlay... but fullscreen/lighbox on photos doesnt work now, it takes me to the photo page. How we can solve this please ?
Thank you
Hi
Go to Appearance-> Editor / assets / js and update these 2 js files "jquery.swipebox.min.js" and "jquery.swipebox.js" in the form below.
https://github.com/brutaldesign/swipebox/blob/master/src/js/jquery.swipebox.min.js
# let's add this code back at assets / js / custom.js to get it working again
#Note:please clear Cache and check again
$( '.swipebox' ).swipebox( { useCSS : true, // false will force the use of jQuery for animations useSVG : true, // false to force the use of png for buttons initialIndexOnArray : 0, // which image index to init when a array is passed hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices removeBarsOnMobile : true, // false will show top bar on mobile devices hideBarsDelay : 3000, // delay before hiding bars on desktop videoMaxWidth : 1140, // videos max width beforeOpen: function() {}, // called before opening afterOpen: null, // called after opening afterClose: function() {}, // called after closing loopAtEnd: false // true will return to the first image after the last image is reached } );#thanks