fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Change direction of image slider

Hello, I’m trying to achieve a vertical scroll effect with the variation images from my website. Is it possible to display all of the images in a column? or change the direction of the slider from left to right to top to bottom?

 

Thank you 🙂

Hakik Zaman

Hi Maria,

Thanks for reaching out to us.

Is it possible to display all of the images in a column?

Unfortunately, this feature is not currently available. You can add this great feature request here: https://storepress.fider.io/

change the direction of the slider from left to right to top to bottom?

Unfortunately, it is not possible to achieve this using our plugin settings. There is no official workaround to achieve this, but you can try the following snippet inside your child theme’s functions.php or as a snippet using Code Snippets plugin:

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

add_action( 'wp_head', function(){
?>
<style id="wvg-vertical-slide-bottom-to-top">
.woo-variation-gallery-slider.slick-slider .slick-list {
transform:rotate(180deg);
}

.woo-variation-gallery-slider.slick-slider .slick-slide {
transform:rotate(180deg);
}
</style>
<?php
} );

BTW, We really get excited & honored when you use our plugin on your site.

If you found my support helpful, could you please leave your valuable review here: https://wordpress.org/support/plugin/woo-variation-gallery/reviews/?filter=5

Your rating keeps us inspired.

Thank You