Docs
Place the search / No search bar

A theme with no visible search bar

Some themes hide search on phones or have none at all. Here is why nothing shows, and what to add.

2 min readPlugin 0.47.13

Why nothing shows#

With Take over my theme's search on, PXL Search recognises the search that is already on the page and takes it over. It can only take over a search that is there. If your theme has none, for example on phones, shoppers see nothing new. Your store is fine: PXL Search simply has no search to take over, so shoppers keep using your normal search until you add one of the placements below.

Before · a theme with no search barYour store
A store header with a menu but no search
  1. 1A menu, but no search box or icon. There is nothing for PXL Search to take over.

Add one of these#

Pick the one that suits your theme. In order of effort:

  1. A menu link to #pxl-searchThe quickest, and it works in every theme. Add a Custom Link with the URL #pxl-search to your menu. How to add the link.
  2. The PXL Search block or widgetPut the PXL Search block in your header, or the widget in a widget area. Block and widget.
  3. data-pxl-search on an iconAdd the attribute to a search icon in your header, in any theme or page builder. Any element.
After · a menu link to #pxl-searchYour store
The same header with a Search link added to the menu
  1. 1A menu link named Search that points to #pxl-search. It keeps your menu's own look.
Check

After you add one, open your site in a private window and try it. If your site uses a page cache, PXL Search clears it when you save the search settings, but a host-level cache may need a manual clear. See Page caches.

Was this page helpful?