# Product grid

{% hint style="danger" %} <mark style="color:red;">Theme retirement</mark> | Context is no longer available on the Shopify theme store. **Theme support and updates for current users will end after May 18, 2024**. [Learn more here](/context/readme/theme-retirement.md).
{% endhint %}

In the **Product grid** settings, you can customize the grid layout by changing the number of columns and changing the aspect ratio (shape) of your product images. You can also customize [Filters and sorting](/context/collection-pages/filters-and-sorting.md) options, and the pagination style.

### Change grid layout

Change the number of column and rows to customize the product grid layout. You can select a pagination style to change how customers can navigate to additional pages of products.

<details>

<summary><mark style="color:blue;">STEPS</mark></summary>

In your theme editor (**Customize**):

1. Click on the **Collection product grid** section to open the settings.
2. If you have Variant swatches enabled, choose to display those variant options as swatches.

   > Swatches appear when the image is hovered over.
3. Use the sliders to set how many **Products per row** and **Products per page** to display.

   > The size of your product images will change depending on the number of products per row.
4. To make your product images a uniform shape and size, select the **Image aspect ratio** to crop your images to **Square**, **Landscape**, or **Portrait**.

   > The default **Natural** setting will display the original orientation of your image.

   ![](/files/tegKTYjZOsUIxM4dpUdE)
5. Select the **Pagination** style to change how customers navigate additional rows of products.

   > **Infinite**: rows of products automatically load as customers scroll down the collection page.

   > **Click to load**: customers click a "Load more" button to reveal more products on the collection page.

   > **Paginated**: customers navigate between numbered pages of products in the collection.
6. Click **Save**.

</details>

### **Show swatches**

Show color swatches on your product when a user hovers over them. In order to show swatches, you need to set up the product swatches feature. See the [variant swatches guide](/context/product-pages/variant-swatches.md) for setup instructions.

<details>

<summary><mark style="color:blue;">STEPS</mark></summary>

In your theme editor (**Customize**):

1. Use the **Templates selector** to open the **Collections** template.

   ![](/files/rqVJ6MqvE73nUKZG0RXe)
2. Click on the **Product grid** section to open the settings.
3. Under **Collection**, check the **Show swatches** option to reveal product options on hover.

   ![](/files/5ZqQ0QPC6ZPTSfog5H2r)
4. Click **Save**.

</details>

<br>

***

> **Related links**
>
> [Collections template](/context/collection-pages/collection-pages.md)\
> [Banner](/context/collection-pages/banner.md)\
> [Filters and sorting](/context/collection-pages/filters-and-sorting.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.fluorescent.co/context/collection-pages/product-grid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
