Skip to content

Site Search Function

Add a search box to any page or your header. Choose or auto-create a results page, then tune results count, excerpt, scope (pages/blog/shop) and styling.

5 min reference guideUpdated 7 August 2026
On this page
Let visitors search your site from a search box on any page, or from your header.

Settings tab#

  • Results page: where searches go
  • Alignment: Left, Centre or Right
  • Width: Small, Medium or 100%
  • Number of results: how many appear per page (1 to 25)
  • Excerpt length: how much preview text each result shows
  • Hide on mobile

Advanced tab#

  • Placeholder text: the grey prompt inside the box (defaults to 'Search')
  • Submit button: Icon only or Icon + label
  • Button label: the wording, when you've chosen Icon + label
  • Search within: Everything, Pages only, Blog only or Shop only
  • No-results message: your own wording when nothing matches

Styles tab#

  • Icon colour
  • Button background and Button text: available when the button shows a label

What gets searched#

Every published page on your site, including blog posts, shop products, and blog and shop category pages. Limecube searches each page's full text, plus its title, its SEO title and description, and for products the item code.
Unpublished pages are never included, and the contents of files such as PDFs aren't searched.

Adding search to your header#

Edit your header, open its Search tab, switch search on and choose a results page. It then appears in your header on desktop and inside the menu on phones. Not every header design supports this: if yours doesn't, Limecube tells you, and switching to another header will enable it. See Header editing.

Tips#

  • The preview text under each result is the start of the page, not the part containing the search term. That's expected.
  • Very short words are ignored: anything under three letters is skipped in multi-word searches.
  • Searching several words finds pages containing any of them, with the best matches first.
  • New and edited pages are indexed when you save them, so publish a page before expecting it in results.
  • Settings are shared between search boxes pointing at the same results page, so a header search box and a page one stay consistent. If results look filtered unexpectedly, check the Search within setting on your other search boxes.

Looking for something else?

Search this guide for a feature or task, or explore another help article.

I’ve checked the guide and still need help

Tell us what you’re trying to do, what happened and what you’ve already tried. A screenshot can help us understand the issue.

Contact the support team