
Configure the autocomplete menu
To configure the autocomplete menu, select a channel in your BigCommerce app and open the Search settings tab.
#quickSearch
.
If your theme uses separate search boxes for large and small screens,
use the Mobile CSS Selector option to target the search box on small screens.
The default value is .navPages-quickSearch
.
When providing a mobile selector,
use the Max Mobile Width option to specify the breakpoint for switching between the small screen and large screen versions of the search box.
The default value is 800px
.
After making changes to the settings, click Save.
Customize the autocomplete menu
Autocomplete is pre-configured for the Cornerstone theme in BigCommerce. For other themes, you might need to tweak the Autocomplete menu to match. You can adjust both the CSS and JavaScript for Autocomplete. To configure the Autocomplete CSS and JavaScript, go to the Search settings tab and select Edit CSS or Edit JavaScript.

Restore default CSS and JavaScript
- Go to the Search settings tab and select Edit CSS or Edit JavaScript.
- Pick Reset to default on the bottom right of the editor.
- Confirm that you want to reset the CSS or JavaScript code to its default. This action overwrites any changes youβve made.
- Click Save at the bottom left within the editor, then click Save on the main search settings page for Autocomplete to publish your changes.
Update Autocomplete CSS and JavaScript
When thereβs an Autocomplete CSS and JavaScript update, the Search settings tab shows Updates available badges for CSS or JavaScript. To update, click Edit CSS or Edit JavaScript.
