Search
A search box for your website: visitors find your pages and blog posts by their words. Put it in your header to have it on every page.
Using it well
The search box lets visitors find your pages and blog posts by the words in them. Results appear under the box while they type, with the words they searched for marked. Put it in your header (Pages > On every page > Header) with the Compact size to have it on every page, or on a page of its own.
What visitors find
- Your published pages and blog posts: their titles and the text in their blocks.
- Never drafts, unpublished changes, scheduled blog posts that are not out yet, or the text of forms and menus.
- On a website with a visitor password, only visitors who entered the password can search.
Changes show up in the search as soon as you publish them. The texts around the box (like "3 results") follow your website's language (Site settings > General & SEO).
Adding it
Open your site in the builder, choose Add in the left panel and pick Search (or search for it). Click the block in the preview to open its settings on the right.
Settings
Content
| Setting | What it does |
|---|---|
| Label above the box (optional) | Text, up to 80 characters. |
| Text in the empty box | Text, up to 60 characters. Default: "Search this website". |
| Button text (empty = only the magnifier) | Text, up to 30 characters. Default: "Search". |
| Size | Choose: Normal; Compact (for a header). Default: Normal. |
| Look | Choose: Outlined, with a button; Grey field, the magnifier inside (no border). Default: Outlined, with a button. |
| Position (when narrower than the page) | Left, centre or right. |
| Width | Choose: Full width; About half the page; Narrow. Default: Full width. |
| Show on | Choose: All screens; Larger screens only (on phones: use the Menu's search magnifier); Phones only. Default: All screens. |