Add More than 6 Collections to My Homepage

Highlighted
New Member
1 0 0

I am using the Venture theme, but it will only let me have up to 6 collections displayed on my homepage. I am using collections as my main homepage navigation, so I would like to have about 12 collections displayed. Does anyone know how I can add additional collections? Does it require code editing? Have any of you done this before successfully? I would appreciate any help that anyone can give me.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
259 3 60

Hi Curtiss,

Lisa here from the Shopify Support Team. 

It does require coding to show additional collections on the homepage. To do this go to:  Online Store > Themes > Actions > Edit Code > Sections > featured_collections.liquid

Once there take a look for this piece of code:

{
    "name": "Collection list",
    "class": "index-section",
    "max_blocks": 6,
    "settings": [
      {
        "type": "checkbox",
        "id": "stretch_collection_image",
        "label": "Use secondary image layout"
      }

You'll just need to change the 6 to a 12 and hit save. Now you can return to your theme editor to continue adding more collections to your homepage. 

Let me know if you have any questions! 

- Lisa 

Lisa | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
New Member
1 0 0

Hi Lisa,

I have had same need and just did change as you guide above. It worked! Thanks. But I encountered an other problem. Before change, the collection cards on homepage showed in grid with image. After change, the collection cards show in list without image. I would like to show them in grid with image. How can I do?

0 Likes
Excursionist
16 0 5

This is not a solution. I guess you didn't test it as it actually breaks things. After implementation the collection tiles do not show any images. Please update as to how to "fix" this solution.

 

TIA

0 Likes
Highlighted
Shopify Partner
51 1 4

What is your current theme?
And please give your url

Please Like and Accept Solution if you like my solution.
Email: inzaghi.2006@yahoo.com
Skype
: freelancer.nguyenthanhtu
0 Likes
Highlighted
Excursionist
16 0 5

Website supplied via email and theme is a sectioned theme - Supply.

0 Likes
Highlighted
New Member
1 0 1

Hey, I know its a bit late but I figured it out. You need to change two bits of code. First you need to go to the same file mentioned in the other reply (featuredcollections.liquid) then find the code that looks like this:

 

{% when 7 %}
{% assign grid_item_width = 'medium-up--one-third' %}
{% assign height = 330 %}
{% assign number_rows = 2 %}
{% when 8 %}
{% assign grid_item_width = 'medium-up--one-third' %}
{% assign height = 330 %}
{% assign number_rows = 2 %}
{% when 9 %}
{% assign grid_item_width = 'medium-up--one-third' %}
{% assign height = 330 %}
{% assign number_rows = 2 %}
{% when 10 %}
{% assign grid_item_width = 'medium-up--one-third' %}
{% assign height = 330 %}
{% assign number_rows = 2 %}

 

and add the required number of case statements you need for your collections.

 

Then you go further down the page to the section just under the list of collections part displayed in many languages and change 'max_blocks' to how many collections you need. Then refresh your store editor.

1 Like
Highlighted
New Member
1 0 0

Hi please could you be a little more specific?  So, say I added 6 more blocks do I need to keep upping the % when section, many thanks!

0 Likes