How to Display Different Images for Desktop and Mobile in a Shopify Slideshow venue theme

How to Display Different Images for Desktop and Mobile in a Shopify Slideshow venue theme

Dualswan
Visitor
3 0 1

Issue with Image Display in Slideshow (VENUE theme)

Recently, I encountered an issue while trying to display different images in my Shopify slideshow depending on the device used (desktop or mobile). I followed some instructions found in Shopify discussions and implemented a CSS code that was supposed to hide or show certain images based on screen size. However, this solution did not work as expected. Additionally, I tried to resolve the issue using the section-image-slideshow by creating two separate slideshow sections for desktop and mobile, hiding them through CSS depending on screen size. Unfortunately, this solution also didn't yield the desired results. I am seeking further suggestions to fix the problem and ensure the correct display of images.

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
11357 2224 2399

Hi @Dualswan 

Please create 2 slider sections and add code following this 

Add code to Custom CSS of desktop section 

@media (max-width: 767px) {
.home-carousel-wrapper { display: none; }
}

And this code for mobile section 

@media (min-width: 768px) {
.home-carousel-wrapper { display: none; }
}

If it is still not working, please send me your store URL so I can get the correct element of the class of your slider sections to provide code that works. 

- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Dualswan
Visitor
3 0 1

Hi, thanks for the help, it worked, but there's still a small problem: a space has been created in both the mobile and desktop versions.Screenshot (85).pngScreenshot (86).png

Sonya_2025
Shopify Partner
346 37 60

Hey @Dualswan 

 

I believe this video about how to show different images for slideshow on Shopify is helpful

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out.Get Shopify free trial 1$/mon
 EMAIL ME  Motivate me by  PAY ME