Skip to content

Replacing the SearchBox

To replace the native search box, you need to locate its position in the theme files.

After you locate the required template, you’ll have to comment out the form, then add the following code below the resulting block:

<div id="cm-search-box"></div>

Sometimes themes may have a different template for the mobile header with a dedicated search box. In this case, we suggest finding the search icon that opens a search dialog on mobile and, as in steps 2-3, commenting it out & adding a snippet below:

<div id="cm-mobile-search-box"></div>