Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello! I am currently using the "Spark" theme, and I use a collections page as the page with all my products. On the product grid, I can change how many columns there are per row for desktop. However, I cannot change this for mobile, and it seems like my columns per row is stuck at 1 for mobile, which does not look very good. Is there any way I can change this?
Solved! Go to the solution
This is an accepted solution.
Hi @Themoderngents,
Go to Assets > theme.css and paste this at the bottom of the file:
@media (max-width: 45em){
.collection__products {
grid-template-columns: repeat(2,1fr) !important;
}
}
Hope it helps!
Hi @Themoderngents,
Do you want it to show 2 for mobile?
Please send your site and if your site is password protected, please send me the password. I will check it.
Themoderngentlemen.co
This is an accepted solution.
Hi @Themoderngents,
Go to Assets > theme.css and paste this at the bottom of the file:
@media (max-width: 45em){
.collection__products {
grid-template-columns: repeat(2,1fr) !important;
}
}
Hope it helps!
Thank you so much!!!!
Hi,
I was wondering if you could help me with a similar issue please.
My website is:
https://dealsforless.store/collections/kitchen
I would like the grid to be 2 columns.
Thank you in advance!