• dowista

    (@dowista)


    Hello. If you change image in gallery, gallery box height not changing. With default woocommerce gallery everything okey, with this gallery height have bug.

    In mobile height change if you scroll down.

    maybe if in frontend.js:128 delete height will be okey?
    this.$element.css(‘min-height’, this.$element.height()).css(‘min-width’, this.$element.width());

    https://i.postimg.cc/SsHwKCs4/image.png

    • This topic was modified 1 month ago by dowista.
    • This topic was modified 1 month ago by dowista.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. It is ideal to upload same width and height image to avoid this behavior.

    You can also turn off the adaptive height using the following snippet. To add the snippet you can use this plugin.

    add_filter( 'woo_variation_gallery_slider_js_options', function( $slider_js_options ){
    $slider_js_options['adaptiveHeight'] = false;
    return $slider_js_options;
    } );

    Note: It is recommended to add the Custom Code to the child theme’s functions.php file, to avoid any data loss while updating the Parent Theme.

    Hope to hear from you soon.

    Thank You

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.