• Resolved 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 year, 5 months ago by dowista.
    • This topic was modified 1 year, 5 months ago by dowista.

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

Viewing 4 replies - 1 through 4 (of 4 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

    Thread Starter dowista

    (@dowista)

    @fizanzvai hello again.

    I have question, how to prevent height change on variation click when gallery reload.

    https://testas.w5.lt/height.mp4

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    I think you have enabled this option. This is not an issue related to height changes. When you alter the variation, the corresponding image is triggered to load, which may take some time to fully render.

    I hope this will clear up your confusion.

    Thank You

    Thread Starter dowista

    (@dowista)

    i was tried other gallery with swiper slider, its work better. Its problem with slick slider probably.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Gallery height’ is closed to new replies.