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
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024