Search blocks
false
Search blocks
Last updated October 07, 2026 14:17
Encourage visitors to explore your site's content with a search field.
Use search blocks to add search fields to your site. You can show results from across your site or limit results to one collection page.
Also try:Adding search to your site with the built-in search page.
Watch a video
How search results populate
Like any search engine, search block results are based on the quality of content on your site. To improve results in search blocks, we recommend reviewing our general search information, adding descriptive and accurate titles, descriptions, excerpts, categories and tags, file names, and keyword-rich content across your site.
Add a search block
To add a search block:
- Edit a page or post.
- Hover over the section and click Add block or + to open the block menu, then click Search.
- Open the block editor by clicking the pencil icon on the block.
- In the Content tab, you can limit results to a specific collection.
- Click Display to enable quick preview and style the search field. If your site is on version 7.0, click Applyto publish your changes.
Select content to search
In the block editor, you can choose to show results from across your site or limit results to a specific collection.
Show search results from across your site
To show results from across your site, leave Search Specific Pageunchecked.
Limit search results
To limit results to one specific collection:
- Check Search Specific Page.
- Select one blog, events, gallery, or store Page from the list that appears below.
Tip: If you select Search Specific Page, you may want to note that the search block will return results for a specific collection. You can do this by adding a text block above the search block that says, for example, “Search our blog.”
Enable quick preview
Enabling quick previewadds a drop-down that auto-populates results as the visitor types. We recommend checking this to allow quicker access to search results.
Quick preview is enabled by default on search blocks. To disable this feature, click the Display tab in the block editor and uncheck Quick Preview.
Style the search field
In the display tab, select Light or Dark to customize how the search icon and field outline appear on your site. Dark is recommended for sites with light backgrounds. Light is recommended for sites with dark backgrounds.
Use the search block
To use search blocks, place your cursor in the search field and begin typing.
If quick preview is enabled, results populate in a drop-down. The search looks similar to this:

Pressing Enter after entering text opens a page with search results. Recommended pages appear with content snippets and excerpts. Depending on the type of content, a featured image may appear.
FAQ and troubleshooting
Can I add a site-wide search block to the top of my site?
It isn't possible to add search blocks above your page content, but you can add search blocks to individual pages.
You can also add a Search link to your built-in search page to your main navigation or anywhere links are supported:
- Create a URL by adding /searchto the end of your full domain so it looks like this: http://www.yourdomain.com/search
- Add the URL to a web address link in your navigation or somewhere else like a text link, button block, or button in a special banner.
I can’t see the text I’m typing in the search field.
By default, the search block is set to the dark theme. If the page background is dark, the search text will blend in. The same can happen if the page background is white and the search block is set to the light theme.
To fix this, switch the theme to Light or Dark in the block’s display tab.
My search query isn’t generating results.
Try the following steps to generate search results:
- Clear your browser’s cache, as it could be loading an earlier version of your site. You can also disable browser extensions or try a different browser.
- Remove any passwords from pages with search blocks.
- Ensure the content you want to appear in search results isn't behind a paywall. Paywalled content won't be indexed for search.
If you're still not seeing results after following these troubleshooting steps, contact us, and we'll refresh your site's search on our end.
Was this article helpful?
Yes No
180 out of 477 found this helpful
Yes No
Search blocks
