Need help on how to increase slideshow image size on mobile

Need help on how to increase slideshow image size on mobile

PankajC
Visitor
1 0 0

Hi,

 

I am using the Trade theme, I am trying to upload images of different resolutions but have noticed that the image height on the mobile stays the same.

 

I have selected adjust as per the first image size.

The current banner fits well on my desktop.

I just want to increase the height banner on mobile.

Need help!

Reply 1 (1)

Dan-From-Ryviu
Shopify Partner
9562 1923 1959

Hi @PankajC 

You can add two slideshow sections, one for mobile and one for desktop so that you can use separate images for each.

After that, please add the code below to hide the desktop's slideshow on mobile and vice versa. 

Add this code to Custom CSS of the desktop's slideshow section 

@media (max-width: 767px) {
    slideshow-component { display: none !important }
}

 Add this code to Custom CSS of mobile's slideshow section

@media (min-width: 768px) {
    slideshow-component { display: none !important }
}

 

- Helpful? Like and Accept solution! or Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.