A space to discuss online store customization, theme development, and Liquid templating.
So i made page with narrative theme, and it looks good on desktop. But on mobile, its listing all products 1 per row, and its ultra big what look so bad. I will be very thankful if someone will help me.
it looks like this and i want 3 products per row.
Solved! Go to the solution
This is an accepted solution.
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 749px) {
.card-list__column {
display: flex;
flex-wrap: wrap;
}
.card-list__column .card {
width: 50%;
}
.card-list__column .card .card__wrapper--padding {
padding: 10px 10px 0px;
}
.card-list__column .card .card__wrapper--padding .card__info {
padding: 10px;
}
.card-list__column .card .card__wrapper--padding .card__info h3.card__name {
font-size: 16px;
}
}
can you confirm this look!
yes, i would be really thankful all products will look like this on mobile.
This is an accepted solution.
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
@media only screen and (max-width: 749px) {
.card-list__column {
display: flex;
flex-wrap: wrap;
}
.card-list__column .card {
width: 50%;
}
.card-list__column .card .card__wrapper--padding {
padding: 10px 10px 0px;
}
.card-list__column .card .card__wrapper--padding .card__info {
padding: 10px;
}
.card-list__column .card .card__wrapper--padding .card__info h3.card__name {
font-size: 16px;
}
}
Exactly how i wanted it to look, thank you so much! Saved my day
its my pleasure to help us