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
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024