Shopify themes, liquid, logos, and UX
Hi everyone,
Could someone please take a look at my site and let me know how to make the product photo sticky so that as the user scrolls down the form on the right, the product photo remains displayed on the screen?
I've tried the solutions already offered for this problem for different themes, but none of them have worked for me. I've tried setting various containers to position:relative and the image container to position:sticky, but none of it worked. There's probably something I'm missing, if anyone could take a quick look I would be eternally grateful.
https://vibrantwallart.com/collections/animals/products/galactic-lion
Solved! Go to the solution
This is an accepted solution.
Hi @srdjank
This is Victor from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file styles.css.
Step 3: Paste the below code at bottom of the file -> Save
.product-gallery.product-gallery__thumbnails--false.product-gallery--media-amount-10.slideshow-transition--fade.product-gallery--bottom-thumbnails.display-arrows--false {
position: sticky !important;
z-index: 1111;
top: 0;
}
Hope that my solution works for you.
Best regards,
Victor | PageFly
Same question
This is an accepted solution.
Hi @srdjank
This is Victor from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file styles.css.
Step 3: Paste the below code at bottom of the file -> Save
.product-gallery.product-gallery__thumbnails--false.product-gallery--media-amount-10.slideshow-transition--fade.product-gallery--bottom-thumbnails.display-arrows--false {
position: sticky !important;
z-index: 1111;
top: 0;
}
Hope that my solution works for you.
Best regards,
Victor | PageFly
This worked perfectly, thank you!
This doesn't work on the Flex (Swagger) theme. Do you have another solution?
Thank you
User | RANK |
---|---|
154 | |
136 | |
77 | |
71 | |
70 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023