Home Page Collection Section "No of Product Rows" not working

The Collection Section on our Home Page No of Product Rows is not working correctly.

The drop down select has 1, 2, 3 and 4 rows as the options.
The 1 row option works fine.
If I select 2, 3, or 4 rows, it always displays 4 rows.

So my only options are 1 or 4 rows of product images.
I don’t want too many images to display in each of our sections.

Any direction on where to look for this code or if there is another viable option…would be greatly appreciated.

Thanks!

the code should mostly be inside collection-template.liquid which should be under the sections folder.

It is possible that you might have accidentally changed this, the best would be to take a fresh copy of the theme and this file if you haven’t done any code customizations.

Also please share the url.

@Propero Our theme does not have a collection-template.liquid file.
This is the only reference in any code I found that looks like it deals with the number of rows options.
Refreshing the theme isn’t an option. We have tweaked it the last few years and that person didn’t comment chgs well.

It is in our collection-tab.liquid. I did make one little change to it yesterday…the default to 2 instead of 4 – to see if it made a difference, but it did not. That module of code has not have any changes done to it before that.

{% include 'products-tab' %}
{% schema %}
{
  "name": "Collection Tabs",
  "class": "index-section",
	 "settings": [
      {
        "type": "header",
        "content": "Select the collection to show products from"
      },
      {
        "type": "select",
        "id": "products_tab_layout",
        "label": "Select section layout",
        "options": [
          {
            "value": "products-tab-design1",
            "label": "Design 1"
          }
        ]
      },
      {
      "type": "select",
      "id": "listing_rows",
      "label": "No of product rows",
      "options": [
          {
          "value": "1",
          "label": "1"
          },
          {
          "value": "2",
          "label": "2"
          },
{
            "value": "3",
            "label": "3"
          },
          {
            "value": "4",
            "label": "4"
          }
        ],
        "default": "2"
      },
      {
        "type": "text",
        "id": "products_tab_title",
        "label": "Title Text"
      },
      {
        "type": "collection",
        "id": "products_tab_collection1",
        "label": "Collection for Tab 1"
      },
      {
        "type": "collection",
        "id": "products_tab_collection2",
        "label": "Collection for Tab 2"
      },
      {
        "type": "collection",
        "id": "products_tab_collection3",
        "label": "Collection for Tab 3"
      },
      {
        "type": "collection",
        "id": "products_tab_collection4",
        "label": "Collection for Tab 4"
      },
      {
        "type": "collection",
        "id": "products_tab_collection5",
        "label": "Collection for Tab 5"
      },
      {
        "type": "text",
        "id": "products_tab_count",
        "label": "No of products to show",
        "default": "8"
      }
    ],
  "presets": [
    {
      "name": "Collection Tabs",
      "category": "Collection"
    }
  ]
}
{% endschema %}

Need to login and check properly