How to edit code to have a different image for mobile VS for desktop in my slideshow (& language)

Hi !

In my homepage, I have a slideshow which shows different slides…

Shopify changes the dimension for desktop vs mobile, so the image shows up horribly on mobile (parts of it are all cropped). It makes sense because the image is one that looks good on desktop in a wide size, but not in a mobile size. So all I want is to be able to have one image for desktop, and one other image for mobile.

Ideally, I would also love to be able to do this for each language. One image for English, one for french.

So in total :

1 French Image for Mobile

1 French Image for Desktop

1 English Image for Mobile

1 English Image for Desktop

My theme is Symmetry.

I need to have the option to insert the different images in my theme customizer when I go to the slideshow, but also, for the website to show each different image for each different situation.

I have been trying to figure this out for 15+ hours and I am lost. I am very beginner level with coding…

Any help would mean the world!

@coraliegc

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

@coraliegc - for now just focus on English site

1 - so please add 2 images in separate sections in customizer, both desk one and mobile one

2 - then using css we can hide the unwanted image based on device, so on desk, mobile image will be hidden and vice-versa

3 - you can follow same thing for French site

Hi [email removed]KetanKumar

Thank you so much for helping me !

My url is

https://sportsnation.shop/

@suyash1

That’s what I have been trying to do, but I don’t have the coding skills to know how :confused:

@coraliegc - add 2 images in separate sections, then we can set the code

How do I do that ? When I customize my slideshow in my theme, there is only one area to insert a picture

@KetanKumar

Hello ! Have you been able to look into it ? I don’t think I linked your name correctly in my previous reply.