How can I fix slideshow images not displaying properly on mobile?

Solved

How can I fix slideshow images not displaying properly on mobile?

CasleyDon1
Tourist
5 0 2

Good day I have recently started on shopify and when I was designing the shop I found that my slide show images are not showing the full images on mobile and yet on the desktop they look perfect.

 

Is the problem my images that I got on Canva or is it something I can fix inside shopify? Please advise on how I can remedy this problem 

Accepted Solution (1)
Moeed
Shopify Partner
6567 1783 2161

This is an accepted solution.

Hey @CasleyDon1 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
    object-fit: fill !important;
}
}
</style>

RESULT:

Moeed_0-1704569572320.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 8 (8)

Moeed
Shopify Partner
6567 1783 2161

Hey @CasleyDon1 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


CasleyDon1
Tourist
5 0 2

Hi Moeed 

 

I the stored is password protected when I access it via the url how can I recover it so I can send it to you 

CasleyDon1
Tourist
5 0 2
Moeed
Shopify Partner
6567 1783 2161

Send me the password as well so I can help you with the code!

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


CasleyDon1
Tourist
5 0 2

Password: totwil

Moeed
Shopify Partner
6567 1783 2161

This is an accepted solution.

Hey @CasleyDon1 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
    object-fit: fill !important;
}
}
</style>

RESULT:

Moeed_0-1704569572320.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


CasleyDon1
Tourist
5 0 2

Thank you so much I was able to fix it

Moeed
Shopify Partner
6567 1783 2161

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications