Jump to content

Code to prevent/disable swiping of product images

Recommended Posts

  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

yes, 

https://www.danegrady.com/printshop/p/pulse

@media screen and (max-width:767px) {
.ProductItem-gallery-carousel-controls {
    display: none !important;
}
.ProductItem-gallery-current-slide-indicator {
    display: none;
}
.ProductItem-gallery-slides-item {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    visibility: initial !important;
}
img.ProductItem-gallery-slides-item-image {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
.ProductItem-gallery-slides:before {
    padding-bottom: 0 !important;
}
.ProductItem-gallery-scroll {
    display: none !important;
}
}

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.