> For the complete documentation index, see [llms.txt](https://mpithemes.gitbook.io/shella-shopify-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mpithemes.gitbook.io/shella-shopify-theme/collections/content/option-filters.md).

# Tags

{% hint style="info" %}
**Collections -> Product grid -> Add block -> Tags**
{% endhint %}

{% hint style="warning" %}
**Please note**, if you want to use filters by product tags, the option **“Enable default filtering”** should be disabled in *Collections -> Product grid.* Learn more [<mark style="color:blue;">**here**</mark>](https://mpithemes.gitbook.io/shella-shopify-theme/collections/content#filtering).
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=blz1Y0jL7Qc>" %}

## **Section settings**

&#x20;You can give this block a **“Title”** and choose its **“Default state”**: open, close, fixed, or without a title. &#x20;

{% hint style="warning" %}
**Please note**, once you select the option **“Top & vertical filters”** in *Theme settings -> Collection page -> Sidebar position on the desktop*, only options “Open” and “Close” can be available and only for mobile mode. On the desktop view, filters will be displayed as closed by default. How to configure the sidebar position, you can read [<mark style="color:blue;">**here**</mark>](https://mpithemes.gitbook.io/shella-shopify-theme/theme-settings/collection-page-1#sidebar-position-on-desktop).
{% endhint %}

## **Content**

&#x20; Here you may set the design of filter items. If shown as a text list with checkboxes, or as color swatches. If you enable the option **“Show checkbox area”**, the checkboxes for color items will be shown. In order to display color variants as circle colors rather than as a text list, enable the option **“Make as color circle”**. **Please note**, this option works only with the ticked **“Show checkbox area”**.

&#x20;In the **“Tags list”**, you can write the items, that should be shown in the filter for the checkmark. The items can be separated simply by breaking the line.

&#x20;In the **“Layout”**, you can choose how the tags should be displayed: in rows or columns.\
&#x20;On the **“Max column size”** scale from 0 to 30, you can choose how many items should be shown in one column. **Please note**, the scale settings can be used if the limit of columns is set to 2 or 3 columns in the “Layout” dropdown. If you choose 0, the filter items will be displayed on a scroll or in a column. In the **“Section visible on collections”** you can decide on which collection pages this “Tag” block should be shown. All you need is just to **write a handle** of the collectio&#x6E;**.** If there are several collections, please add a handle using a separator '|'. Example: 'men-s|women-s'. If you do not write anything in this field this “Tag” block will be displayed on all collections by default. Where to find a handle, you can read [<mark style="color:blue;">**here**</mark>](https://mpithemes.gitbook.io/shella-shopify-theme/get-started/how-to-find-a-handle).

**How to add filter by tags (Color):**

* Go to your *Shopify Admin -> Products*;
* Select Product;
* Add tags to the product;
* Save changes.

![](/files/4pXWX0nIPIix2i9asapO)

* In your Shella theme Editor go to *Collections ->  Product grid;*
* Add 'Tag' block;
* Configure the 'Tags list' fields;
* Save changes.

### EXAMPLE

&#x20;In our example, we have used this block for the Color filter with the following settings:

**Title:**

Color

**Default state:**

Open

**Show checkbox area** - enabled

**Make tag as color circle** - enabled

**Tags list:**

Red Yellow Green Olive Khaki Aqua Black Silver Blue Grey White Purple Violet Pink Plum SandyBrown LightPink LightGreen

**Layout:**

3 columns

**Max columns size:**

6

And this is what we have got:

![](/files/mGQ9amxCLASezHBBl3fd)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mpithemes.gitbook.io/shella-shopify-theme/collections/content/option-filters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
