Okay
  Public Ticket #2629256
Wordpress 5.6 - Popup black overlay II
Closed

Comments

  •  1
    Ronaldo started the conversation

    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

  •  2,558
    Kevin replied

    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

  • Stephanie E Kilburn replied

    I tried this just now and it doesn't work. I am still getting the black box. I am on 5.7

  •  2,558
    Kevin replied

    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

  • Stephanie E Kilburn replied

    I tried this under both Jquery.swipebox.min.js and jquery.swipebox.js and it does not work still

  •  2,558
    Kevin replied

    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


  • Stephanie E Kilburn replied

    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.

  • Rodolphe replied

    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

  •  2,558
    Kevin replied

    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