Increase number of collection lists per row on mobile view only

Increase number of collection lists per row on mobile view only

Mitch23
Excursionist
35 0 5

I am looking to have 4 collections per row in my collection list for my mobile view. I can currently have only a max of 2. 
Please help!

Replies 10 (10)

Dan-From-Ryviu
Shopify Partner
11683 2289 2472

Hi @Mitch23 

Can you share your store link? 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Mitch23
Excursionist
35 0 5
Dan-From-Ryviu
Shopify Partner
11683 2289 2472

You can add this code to Custom CSS in Sales Channels > Online Store > Themes > Customize > Theme settings to change it to 4 collections per row

@media (max-width: 749px) {
    .shopify-section--collection-list .container .column.thumbnail {
        width: calc(25% - 20px);
    }
}

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Mitch23
Excursionist
35 0 5

Where do I add it? I tried and it didn't work

Dan-From-Ryviu
Shopify Partner
11683 2289 2472

Please go to your store admin > Sales Channels > Online Store > Themes > Customize > Theme settings > Custom CSS Screenshot 2025-01-10 at 09.48.07.pngScreenshot 2025-01-10 at 09.48.34.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Mitch23
Excursionist
35 0 5

Perfect! and how do i shrink the text with it?

 

Dan-From-Ryviu
Shopify Partner
11683 2289 2472

Please update the code 

@media (max-width: 749px) {
    .shopify-section--collection-list .container .column.thumbnail {
        width: calc(25% - 8px);
        margin-left: 4px;
        margin-right: 4px;
    }
    .shopify-section--collection-list .container .thumbnail__title { 
        font-size: .8rem; 
    }
}

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Mitch23
Excursionist
35 0 5

When I try to save it says: Online Store editor session can't be published

Dan-From-Ryviu
Shopify Partner
11683 2289 2472

So please remove it and add this code to theme.liquid file after <head> in Online Store > Themes > click "..." in current theme > Edit code 

<style>
@media (max-width: 749px) {
    .shopify-section--collection-list .container .column.thumbnail {
        width: calc(25% - 8px);
        margin-left: 4px;
        margin-right: 4px;
    }
    .shopify-section--collection-list .container .thumbnail__title { 
        font-size: .8rem; 
    }
}
</style>

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Made4uo-Ribe
Shopify Partner
10184 2417 3060

Hi @Mitch23 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles.
  4. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 798px) {
.shopify-section.shopify-section--collection-list .medium-down--one-half {
    width: calc(25% - 20px);
}

.thumbnail__content span.thumbnail__title {
    font-size: 13px;
}
}

 

  • And Save. 
  • Result:

  • Made4uoRibe_0-1736511654211.png

     

 

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.