Change number of Collection Blocks to 100

Change number of Collection Blocks to 100

Luxurymrkt
Navigator
644 2 121

Hi,

 

I want to change the number of collection blocks from 50 to 100 on this page https://vazluxe.com/collections

Luxurymrkt_0-1724937619351.png

 

 

Thank You | mike
Replies 6 (6)

topnewyork
Globetrotter
633 113 134

Hi @Luxurymrkt ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
@media (min-width: 960px) {
    .list-collections.list-collections--per-view-5 .list-collections__grid {
        grid-template-columns: repeat(10, 1fr) !important;
    }
}
</style>

topnewyork_0-1724938552766.png

 

 

 

Try the above code, If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at Top New York Web Design
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel

dws_pvt_ltd
Shopify Partner
288 56 81

Hello @Luxurymrkt, You have to do a custom code in the Collections list. Right now there are 10 number of row are displaying with collections 5 per rows as per default way, to show the 100 number of collections lists you have to customize in the code to set their option limit from 10 to 20 and also can set number of collections list per row more than 5. This need code customisation.

See the below screenshot, i think your current setting of customisation is look like this,

download (41).png

 

Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.

Helpful? then please Like and Accept the Solution.
For any inquiries, please feel free to contact via WhatsApp and Email: sales@dolphinwebsolution.com.
For more information visit our website Dolphin Web Solution Pvt Ltd.

niraj_patel
Shopify Partner
2378 514 511

Hello @Luxurymrkt 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media (min-width: 960px) {
   .list-collections.list-collections--per-view-5 .list-collections__grid {
       grid-template-columns: repeat(10, 1fr) !important;
    }
 }
</style>

niraj_patel_0-1724938273722.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Luxurymrkt
Navigator
644 2 121

So this only makes it 10 items per row. total is still 50 

 

I want to increase the max number of blocks to 100.

 

Mike

Thank You | mike
Luxurymrkt
Navigator
644 2 121

Any update how to change it from 50 to 100?

Thank You | mike
niraj_patel
Shopify Partner
2378 514 511

Steps to Increase the Number of Collection Blocks:

  1. Locate the Collection Template:

    • Go to Online Store > Themes > Edit code.
    • In the Sections or Templates folder, find the file related to the collections page. This could be named something like collection-template.liquid, collection.liquid, or collection-grid.liquid.
  2. Find the Limit Code:

    • Inside the relevant Liquid file, search for a line that limits the number of collection items. It might look something like this:
    liquid
    {% paginate collection.products by 50 %}
  3. Increase the Limit:

    • Change the number 50 to 100 to increase the limit:
    liquid
    {% paginate collection.products by 100 %}
  4. Save Your Changes:

    • After making this change, save the file.
  5. Check the Collection Page:

    • Visit your collection page to ensure it now displays up to 100 collection blocks.
Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com