Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024