# Search page

The **Search page** is a vital tool for efficiently finding specific products or information on a website. It displays search results tailored to your query, saving time and simplifying navigation. This feature enhances user experience by quickly connecting users with their desired items, streamlining the online shopping process.

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FNQ9bmKmA5Zfrk8ob3PLp%2Fimage.png?alt=media&#x26;token=f277dd58-b0be-470a-b03e-8d8ad223ff24" alt=""><figcaption></figcaption></figure>

## How to customize your Search Results section?

{% hint style="success" %}
**Steps**

1. In the theme editor (**Customize**), open the template selector.
2. Select **Search.**
3. On the left-sidebar, add **Product grid** section
4. Make necessary changes > **Save.**
   {% endhint %}

## Section settings

### General Settings

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FO7BFGjFn8cygzkNBzH47%2Fimage.png?alt=media&#x26;token=3056acb8-3a9c-48bb-b4ac-08df7dd5022f" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="215">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Section width</strong></td><td><p>3 options for container</p><ul><li><strong>Stretch width</strong>: span the section width regardless of screen size.</li><li><strong>Fixed width</strong>: depends on your page content width in <strong>Theme settings</strong> <strong>-></strong> <strong>Layout</strong>.</li><li><strong>Full width</strong>: takes up the entire space on the page and it usually resizes itself to fit the size of the screen.</li></ul></td></tr><tr><td><strong>Items to show per page</strong></td><td>Limit the display of the number of page. Minimum: 4. Maximum: 24</td></tr><tr><td><strong>Columns per row on desktop</strong></td><td>Number of columns to display on desktop computers. Minimum: 2. Maximum: 5.</td></tr><tr><td><strong>Column gap</strong></td><td><p>4 options for column gap</p><ul><li><strong>Small</strong></li><li><strong>No gap</strong></li><li><strong>Medium</strong></li><li><strong>Large</strong></li></ul></td></tr><tr><td><strong>Pagination type</strong></td><td><p>Select style for pagination</p><ul><li><strong>Page number</strong></li><li><strong>Load more button</strong></li><li><strong>Infinite scroll</strong></li></ul></td></tr></tbody></table>

### Filtering and sorting

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2F0QEgAR7h8N0ptHjNVm9f%2Fimage.png?alt=media&#x26;token=fa46ea24-b381-4fd1-bed4-56c9c4cf7cde" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To customize filters in your store, you will need the [Shopify Search & Discovery](https://apps.shopify.com/search-and-discovery) app.&#x20;

This app not only enables you to tailor your filters but also grants you the capability to personalize search results and product recommendations, providing you with greater control over how customers explore and find your products.

Discover [how to customize filters using the app.](https://help.shopify.com/en/manual/online-store/search-and-discovery/filters)
{% endhint %}

<table><thead><tr><th width="215">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Enable sorting</strong></td><td>When enabled, it will display sorting options for arranging products</td></tr><tr><td><strong>Enable filtering</strong></td><td>When enabled, it will display the configured filter options, allowing you to filter products</td></tr><tr><td><strong>Show product</strong> <strong>counts</strong></td><td>Display the quantity of products</td></tr><tr><td><strong>Desktop filter layout</strong></td><td>2 options for desktop filter layout</td></tr></tbody></table>

{% tabs %}
{% tab title="Vertical" %}

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2F9Qp0Lb73omfgAKw2QlAD%2Fimage.png?alt=media&#x26;token=73cfbbdd-b4b9-4ad4-9043-b65048b49033" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Drawer" %}

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FpohAKFxeuLp54AXCbyir%2Fimage.png?alt=media&#x26;token=2b047f74-8064-44de-9e76-f3fa07f7d1d1" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### Section padding <a href="#section-padding" id="section-padding"></a>

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2F7y1uEU4nl09MIQqLdC1U%2Fimage.png?alt=media&#x26;token=efa0f52e-d515-46ab-8011-fa2c5a41225c" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="215">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>Top</strong></td><td>Customize the top margin of the section</td></tr><tr><td><strong>Bottom</strong></td><td>Customize the bottom margin of the section</td></tr></tbody></table>


---

# 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://nextsky.gitbook.io/purity-theme/other-pages/search-page.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.
