Buy me a coffee

Change product gallery from Stacked to Slideshow on mobile

To change product gallery from Stacked to Slideshow on Mobile, you can follow these.

#1. First, edit a Product

Change Product Gallery From Stacked To Slideshow On Mobile 01 Min

Next, click Edit Section

Change Product Gallery From Stacked To Slideshow On Mobile 02 Min

#2. Choose Slideshow (we will use code to change it to Stacked on Desktop)

Change Product Gallery From Stacked To Slideshow On Mobile 03 Min

#3. Next, use this code to Custom CSS to change Slideshow to Stacked on Desktop.

/* Stacked Product */
@media screen and (min-width:768px) {
.ProductItem-gallery-slides-item {
position: static !important;
height: auto !important;
visibility: visible !important;
opacity: 1 !important;
margin-bottom: 20px;
}
.ProductItem-gallery-slides:before {
padding: 0 !important;
}
.ProductItem-gallery-scroll {
display: none !important;
}

.ProductItem-gallery-carousel-controls {
display: none !important;
}}

Change Product Gallery From Stacked To Slideshow On Mobile 04 Min

#4. If you want to do this for a specific product only, you can edit Additional Info > Add a Code Block

Click plus icon to add a Code Block

Change Product Gallery From Stacked To Slideshow On Mobile 05 Min

Change Product Gallery From Stacked To Slideshow On Mobile 06 Min

and paste this code into Code Block

<style>
  /* Stacked Product */
@media screen and (min-width:768px) {
.ProductItem-gallery-slides-item {
    position: static !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 20px;
}
.ProductItem-gallery-slides:before {
    padding: 0 !important;
}
    .ProductItem-gallery-scroll {
    display: none !important;
}

.ProductItem-gallery-carousel-controls {
    display: none !important;
}}
</style>

Change Product Gallery From Stacked To Slideshow On Mobile 08 Min