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
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024