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
User | RANK |
---|---|
74 | |
74 | |
69 | |
65 | |
40 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023