Shopify themes, liquid, logos, and UX
Hello there!
Could anybody please help me with my Brooklyn theme home page? I want to display 2 rows of products on mobile phones instead of one like it is on my collections page already.
Is anybody kind enough to help me with the code? Website: Shopcutify.com
Thank you!
Solved! Go to the solution
This is an accepted solution.
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
@media(max-width: 767px) {
.index-sections #CollectionSection .grid-uniform{
display: flex;
flex-wrap: wrap;
}
.index-sections #CollectionSection .grid__item {
width: 50%;
}
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi,
Hope following css code will help you (kindly add at end of CSS file)
/* Custom styling for two rows of products on mobile */
@media only screen and (max-width: 767px) {
.grid__item {
width: 50%;
float: left;
}
.grid__item:nth-child(odd) {
clear: none;
}
.grid__item:nth-child(even) {
clear: both;
}
}
This kinda works, however, the first and last product appear in a separate row and the text element above the product selection has also moved to the left.
This is an accepted solution.
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
@media(max-width: 767px) {
.index-sections #CollectionSection .grid-uniform{
display: flex;
flex-wrap: wrap;
}
.index-sections #CollectionSection .grid__item {
width: 50%;
}
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025