Headless commerce and custom storefronts with Shopify APIs and SDKs
Hello dear community,
I need help for my slideshows on my site. The pictures need to be smaller on the mobile site. I also tried changes in the theme.scss.liquid but it didn't work.
My url is www.pestsystems.de
Thank you.
Hi Toni,
From what you have said it sounds like you would need to use the "picture" HTML element to display the images:
<picture>
<source
media="(min-width: 650px)"
srcset="images/img1.png">
<source
media="(min-width: 465px)"
srcset="images/img2.png">
<img src="images/img-default.png"
alt="a cute kitten">
</picture>
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023