Shopify themes, liquid, logos, and UX
Hello,
On my desktop version it shows two rows of 3. But in my mobile it shows two rows of two and then two rows of one. how can I resolve this to 3 rows of two on mobile?
Solved! Go to the solution
This is an accepted solution.
Yes, please update this code
@media (max-width: 767px) {
.collection-grid .row {
display: flex;
flex-wrap: wrap;
}
.collection-grid .col-sm-4 {
width: 50%;
padding: 0px 10px;
}
}
This is an accepted solution.
thank you so much!!!!
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Thewitchesmark.com
thanks for url, yes please add this code
1. Go to Online Store->Theme->Edit code
2. Asset->/style.scss ->paste below code at the bottom of the file.
@media (max-width: 767px) {
.collection-grid .col-sm-4 {
width: 33.33333333%;
}
}
Thank you! Is there a way to make rows of two instead of three on mobile? I would I like like this change made in the mobile version only. The desktop version I would like to remain rows of 3.
yes that code work only for mobile design doesn't effect on desktop don't worry
This is an accepted solution.
Yes, please update this code
@media (max-width: 767px) {
.collection-grid .row {
display: flex;
flex-wrap: wrap;
}
.collection-grid .col-sm-4 {
width: 50%;
padding: 0px 10px;
}
}
This is an accepted solution.
thank you so much!!!!
its my pleasure to help us
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024