Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey. I want to make the main product image (.product-single__media) sticky on mobile. This is so the image shows at the top of the page, and customers can see the image change when selecting variants without having it scroll to the top of the page.
This is my current code, but it doesn't seem to work. What am I doing wrong?
@media only screen and (max-width: 750px) {
.product-single__media {
position: -webkit-sticky;
position: sticky;
top: 0;
}
}
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025