Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36593
    Pádraig Ó Beirn
    Participant

    Hi Bartosz,

    Since upgrading to responsive-lightbox-lightcase 1.2.0 my lightbox images and icons on mobile are tiny. If I revert class-frontend.php to version 1.1.0 it works as expected. I know that this file references the updated Lightcase.js script update to 2.5.0 and the related Lightcase.css version 2.5. That must be where the problem lies. I have tried changing the plugin settings but ultimately had to roll back to 1.1.0 for now. If you can suggest a solution I’d be grateful.

    Many thanks,

    Pádraig

    #36605
    Pádraig Ó Beirn
    Participant

    Update:

    I’ve narrowed the issue down to the two new files introduced in 1.2.0:

    responsive-lightbox-lightcase > assets > lightcase.min.css
    and
    responsive-lightbox-lightcase > assets > lightcase.min.js

    Everything works as expected on mobile screens if I replace references to those files in responsive-lightbox-lightcase > includes > class-frontend.php

    with

    wp_register_style(‘responsive-lightbox-lightcase-css’, plugins_url( ‘assets/css/lightcase.css’, dirname( __FILE__ ) ));

    and

    wp_register_script(‘responsive-lightbox-lightcase-js’, plugins_url( ‘assets/js/lightcase.js’, dirname( __FILE__ ) ), array( ‘jquery’ ), ”, ( Responsive_Lightbox()->options[‘settings’][‘loading_place’] === ‘header’ ? false : true )

    #36662
    Bartosz
    Keymaster

    So can you confirm it seems to work fine if you use unminified versions of the CSS/JS?
    We’ll check that on our side as well.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.