All things Shopify and commerce
Hello Everyone. In the desktop view, you can see that collection images are normal. When I switch to mobile view, it gets one collection image per raw.
Would anyone be able to give me code to make these collections list two collections per row.
Store build using Envy theme
Store URL: https://jhirna-1541.myshopify.com/
Any assistance you can provide would be greatly appreciated
Solved! Go to the solution
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. In your theme.liquid file, find the </body>(press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:
<style>
@media (max-width:749px){
.template-index .collection-grid .indiv-collection-grid-homepage{
max-width: 50%;
}
}
</style>
If it helps you please click on the "like" button and mark this answer as a solution!
Thank you.
Kind regards,
Diego
This is an accepted solution.
1. In your Shopify Admin go to online store > themes > actions > edit code
2. In your theme.liquid file, find the </body>(press CTRL + F or command + F on Mac)
3. paste this code right above the </body> tag:
<style>
@media (max-width:749px){
.template-index .collection-grid .indiv-collection-grid-homepage{
max-width: 50%;
}
}
</style>
If it helps you please click on the "like" button and mark this answer as a solution!
Thank you.
Kind regards,
Diego
Thank you so much @diego_ezfy The code works. 🙂
Have a great day
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024