How to show 2 different Slideshow (One on mobile, and one on Desktop)

How to show 2 different Slideshow (One on mobile, and one on Desktop)

SellingWithAlex
Excursionist
17 0 4

Hello for https://themes.shopify.com/themes/split/styles/cuber/preview in the Slideshow I have made two slideshows. One that should be displayed for Mobile users, and one for Desktop users.

 

1. What code can I enter in Custom CSS on Desktop Slideshow to display it on Desktop, but not on Mobile.

 

2. And what Custom CSS code can I put Mobile Slideshow, so that it'll display only when viewed on mobile, but not on desktop?

Thank you everyone 🙂  

Replies 8 (8)

Sonya_2025
Shopify Partner
362 38 61

Hey @SellingWithAlex 

pls refer to image Banners for Every Device

 

Hope this helps.

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
SellingWithAlex
Excursionist
17 0 4

Hi Sonya,

Is Image Banner and Slideshow the same thing?

vm-web
Shopify Partner
154 10 29

@SellingWithAlex 

No, the image banner shows only image

If helpful then please Like and Accept Solution. | Email: vickyzilpe@gmail.com
Sonya_2025
Shopify Partner
362 38 61

No. they are not same. but I think you can achieve your needs by the same way

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
SellingWithAlex
Excursionist
17 0 4

Okay, thank you for this I guess?

My question was about the Slideshow

Sonya_2025
Shopify Partner
362 38 61

Hi @SellingWithAlex 

Add two slideshow sections in your theme editor. one for mobile, one for desktop. and then using css to hide one of them.

the implement logic is the same as mentioned in the blog I shared. You can have a try:)

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

namphan
Shopify Partner
2690 349 397

Hi @SellingWithAlex,

- For desktop: Please add code:

@media screen and (max-width: 768px) {
  .site-box-container {
    display: none !important;
  }
}

- For mobile: Please add code:

@media screen and (min-width: 769px) {
  .site-box-container {
    display: none !important;
  }
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

Dan-From-Ryviu
Shopify Partner
11754 2305 2488

Hi @SellingWithAlex 

Please create 2 Slideshow sections from your theme customization, then add CSS code below for each section.

Add this code to the Custom CSS of the desktop section.

@media (max-with:749px) {
.css-slider-viewport { display: none; }
}

Add this code to the Custom CSS of the mobile section.

@media (min-with:750px) {
.css-slider-viewport { display: none; }
}

 

- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.