> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Theme Editor - Search bar

> Style the storefront search bar.

<Frame caption="Theme Editor > Search bar">
  <img src="https://mintcdn.com/twicecommerce/cJlH0EnJIdVT0BaS/images/theme-editor-search-bar.webp?fit=max&auto=format&n=cJlH0EnJIdVT0BaS&q=85&s=3eb5b0031723792e075f276394e4259b" alt="Search bar settings panel in the theme editor" width="1920" height="1080" data-path="images/theme-editor-search-bar.webp" />
</Frame>

The Search bar panel controls the appearance of the storefront search input. Found under **Cards** in the theme editor. Where the search bar appears is set per page — see the [Home page](/docs/sales-channels/online-store/theme-editor/pages/home) and [Collection page](/docs/sales-channels/online-store/theme-editor/pages/collection).

## Colors

| Setting    | Default   | Description                          |
| ---------- | --------- | ------------------------------------ |
| Background | `#F2F3F5` | Background fill of the search input. |

## CSS variables

<CodeGroup>
  ```css CSS variables theme={null}
  :root {
    --storefront-search-bar-background-color: #F2F3F5;
  }
  ```
</CodeGroup>

## Related

<CardGroup cols={2}>
  <Card title="Inputs" icon="text-cursor-input" href="/docs/sales-channels/online-store/theme-editor/settings/inputs">
    Style form inputs across the store.
  </Card>

  <Card title="Collection page" icon="grid-2" href="/docs/sales-channels/online-store/theme-editor/pages/collection">
    Toggle search on collection pages.
  </Card>
</CardGroup>
