Re: Mobile Layout??

Solved

How can I fix overlapping product images on mobile display?

Naveed5
Tourist
11 0 2

Hi guys,

Im experiencing this issue on mobile display where my product images and name are overlapping on each other. Is there any way to fix this.

 

Issue picture attached;Screenshot 2023-10-14 at 11.31.08.png

Accepted Solution (1)
theycallmemakka
Shopify Partner
1685 404 423

This is an accepted solution.

Hi @Naveed5 

 

I have written a CSS to fix the issue.

 

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 only screen and (max-width: 750px) {
  .grid--1-col .grid__item {
    max-width: 100%!important;
        width: 100%;
    }
}
<style>

 

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

 

Best Regards

Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: [email protected]

View solution in original post

Replies 4 (4)

theycallmemakka
Shopify Partner
1685 404 423

Can you save the changes and review this on actual mobile? In most of the case mobile layout doesnot look like this in real.

 

Also can you please provide link to your site. I will review it and give u a feedback.

 

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: [email protected]

Naveed5
Tourist
11 0 2

Yes sure. It lookes the same asfter its saved

the link: https://urbane-madeforrealmen.myshopify.com/

theycallmemakka
Shopify Partner
1685 404 423

This is an accepted solution.

Hi @Naveed5 

 

I have written a CSS to fix the issue.

 

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 only screen and (max-width: 750px) {
  .grid--1-col .grid__item {
    max-width: 100%!important;
        width: 100%;
    }
}
<style>

 

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

 

Best Regards

Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: [email protected]

Naveed5
Tourist
11 0 2

yessir. it worked. thanks alot