# Search result

Display the products, collections, pages, and blog posts that match a customer's search query.
The search results page appears **after a customer submits a search** from the search bar, such as from the header or Search page. The results update based on the search term and the content available in the store.
## Adjusting search result type
Your store's search functions can return different types of results, such as products, pages, and blog posts.
To keep your search results as relevant as possible for your customers, you can specify which types of results you want your [online store search](https://help.shopify.com/en/manual/online-store/storefront-search) and [predictive search](https://help.shopify.com/en/manual/online-store/storefront-search/predictive-search) to return. The following settings can be adjusted in [Shopify Search and Discovery app](https://admin.shopify.com/apps/search-and-discovery).

Learn more: [Shopify - adjusting search result type.](https://help.shopify.com/en/manual/online-store/storefront-search/search-and-discovery-modify-search#search-result-types)
## How to customize the Search results page
1. Go to **Online Store > Themes** in Shopify Admin.
2. Find your theme and click **Edit theme**.
3. Open the page selector and select **Search**.
4. Select the **Search result** section from the section list. You can **submit a search** to view the Search results page in your theme editor
5. Adjust the section settings and blocks as needed.
6. **Save** your changes.
## Section settings
### Pagination
Control how customers load additional search results.
| Setting | Description | Options |
| ------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------- |
| **Pagination type** | Choose how customers navigate through additional search results. | **Numbered page**s, a **Load more** button, or **Infinite** scroll. |
* **Load more** suits most large catalogs — shoppers keep their place, and the page doesn't grow without limit.
* **Infinite scroll** feels effortless but makes the footer unreachable and gives shoppers no sense of how far through they are.
* **Numbered pages** are worth keeping if customers return to the same page of results repeatedly, which happens on parts catalogs.
### Layout
Control the container width, number of product columns, and spacing between products.
| Setting | Description | Option |
| ------------------ | ------------------------------------------------ | :------------ |
| **Container** | Choose the width of the search result section. | Full / Fixed |
| **Columns** | How many products appear across on large screens | 2 - 6 columns |
| **Items per page** | How many products load before pagination | 12 - 48 |
| **Horizontal gap** | Space between cards | 0px –100 px |
| **Vertical gap** | Space between rows | 0px –100 px |
### Filtering and sorting
| Setting | Description | Option |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------- |
| **Enable filtering** | Shows the filter sidebar beside the grid. Learn how to [set up filters in **Shopify's Search & Discovery** app](https://help.shopify.com/manual/online-store/storefront-search/search-and-discovery-filters). | On / Off |
| **Enable sorting** | Lets shoppers change the sort order. | On / Off |
| **Enable card layout switch** | Gives shoppers a grid/list toggle above the products. | On / Off |
| **Default card layout** | Which layout the page opens in. Appears when the switch is on. | Grid / List |
| **Expand filter groups** | Which filter groups start open rather than collapsed. | Enter the filter groups to expand. Use a comma to separate values.
Example: color,size,price |



The sidebar is a sidebar on large screens only. Below that, it becomes a drawer that shoppers open from a button, so a long filter list doesn't push the products down on a phone.
### Mobile layout
Control the number of product columns and spacing on mobile devices.
| Setting | Description | Option |
| ------------------ | -------------------------------------------------------------- | :------------------- |
| **Columns** | Set the number of product columns displayed on mobile devices. | 1 column / 2 columns |
| **Horizontal gap** | Space between mobile cards | 0px – 100 px |
| **Vertical gap** | Space between mobile rows | 0px – 100 px |
1-column grid on mobile
2-column grid on mobile
### Appearance
| Setting | Description | Option |
| ---------------- | -------------------------------------------- | :-------------------- |
| **Color scheme** | Applies a theme color scheme to the section. | Select a color scheme |
This styles the section, not the product cards. Card design — image shape, badges, what appears under the title — comes from **Theme settings >** [Product cards](https://docs.foxecom.com/motrix-theme/theme-settings/product-cards) and applies everywhere products are listed.
**Tip:** If your product card aspect ratio is set to **Auto** in theme settings, the collection grid uses square images instead. Rows have to line up, and Auto would give every card a different height.
### Animation
Control how search result items appear when customers load or scroll through the section.
| Setting | Description | Options |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| **Items** | Choose the animation applied when product cards appear. | None / Fade in / Fade up / Fade down / Slide in (left) / Slide in (right) |
| **Reveal items one by one** | Each item in the list arrives after the one before it, instead of the whole list appearing at once. This setting appear when items **isn't None** | On / Off |
| **Enable preload image** | Loads the image earlier so it appears faster when the block is near the top of the page. | On / Off |
## Block - Product card
Each product in the search results uses the **Product card** block. Customize the product card separately to control its content and appearance.
[Go to theme settings to customize the product card.](https://docs.foxecom.com/motrix-theme/theme-settings/product-cards)