Liquid, JavaScript, themes, sales channels
I want to develop with the new Dawn Theme. Everything ist fine so far, except the Product Detail Page. If I use more then one product image, they are displayed one img below the other. Is ist possible to integrate a kind of "slideshow" so only one image is shown and the others are accessible via thumbnails or bulletpoints. Is there a theme-app that already supports Shop 2.0 or can I develop functionality myself and how can I start?
Thx for the help,
Greetings Gregor
Solved! Go to the solution
This is an accepted solution.
If you check the code for the product images, they are wrapped in a slider-component (if you check that option in the theme customiser). That means the product images are already ready to be in a slideshow, but on mobile only.
So you basically just need to change the CSS in order to make the desktop view the same as on mobile devices. That means if some rules are specific to mobile (screen < 750px), you can apply the same for screens > 749px. And if there is anything specific for screens > 749px you can remove. You might need to adjust a few things, but that worked for me!
This is an accepted solution.
If you check the code for the product images, they are wrapped in a slider-component (if you check that option in the theme customiser). That means the product images are already ready to be in a slideshow, but on mobile only.
So you basically just need to change the CSS in order to make the desktop view the same as on mobile devices. That means if some rules are specific to mobile (screen < 750px), you can apply the same for screens > 749px. And if there is anything specific for screens > 749px you can remove. You might need to adjust a few things, but that worked for me!
Clever! May I ask, what css files of the Dawn theme did you touch / edit:
I changed these two, is this enough, because it is only almost working 😉
Greetings newbie
component-slider.css should be enough, post a preview link here and I'll be happy to take a look
Hi,
I think you mean product slider? If so check this video. Link with code provided under the video description
User | RANK |
---|---|
25 | |
21 | |
7 | |
6 | |
5 |
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