Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Correct The 2 Columns Layout On Mobile So That The Size Adjusts Based On Screen Size

Solved

Correct The 2 Columns Layout On Mobile So That The Size Adjusts Based On Screen Size

Yusa1
Excursionist
46 0 1

Hello,

I'm trying to correct the 2 columns layout on mobile so that the size adjusts based on screen size

Here an example of what i'm referring too down below on the video.  Website - https://avokitchen.com/

 

PROBLEM - https://share.getcloudapp.com/9Zuyx4wN

Any help I will gladly appreciated!

Accepted Solution (1)
SideNode
Shopify Partner
159 38 42

This is an accepted solution.

hi @Yusa1 
You can try this code: it will be helpful to you.

@media screen and (min-width: 451px) and (max-width: 767px) {
ul#product-grid {
    display: flex;
    grid-gap: 0px;
}
}

You can see the change.

SideNode_0-1689655006470.png

 

If I was able to assist you, please remember to give it a Like and Mark it as the Solution!

Let me know if need further assistance
Regards,
SideNode

 


If helpful, please Like and Accept this Solution to help others
SHOPIFY APP DEVELOPMENT | BOOK FREE SHOPIFY CONSULTATION

View solution in original post

Replies 3 (3)

SideNode
Shopify Partner
159 38 42

hi @Yusa1 
Its SideNode! We will be happy to help you today.

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

@media screen and (min-width: 451px) and (max-width: 767px) {
.product-grid {
    display: flex;
    grid-gap: 0px;
}
}

If I was able to assist you, please remember to give it a Like and Mark it as the Solution!

Let me know if need further assistance
Regards,
SideNode

 

If helpful, please Like and Accept this Solution to help others
SHOPIFY APP DEVELOPMENT | BOOK FREE SHOPIFY CONSULTATION
Yusa1
Excursionist
46 0 1

Hello SideNode,

 

I use the code it still didn't fix the problem. Any thought why?

SideNode
Shopify Partner
159 38 42

This is an accepted solution.

hi @Yusa1 
You can try this code: it will be helpful to you.

@media screen and (min-width: 451px) and (max-width: 767px) {
ul#product-grid {
    display: flex;
    grid-gap: 0px;
}
}

You can see the change.

SideNode_0-1689655006470.png

 

If I was able to assist you, please remember to give it a Like and Mark it as the Solution!

Let me know if need further assistance
Regards,
SideNode

 


If helpful, please Like and Accept this Solution to help others
SHOPIFY APP DEVELOPMENT | BOOK FREE SHOPIFY CONSULTATION