Navigation Search

The Navigation Search option can be found in Appearance > Customize > Layout > Primary Navigation.

This option adds a search icon (magnifying glass) to your navigation bar. When you click it, a semi-transparent search bar covers your menu items and allows you to enter a term to search your site.

Use Navigation Search in Secondary Navigation

By default the navigation search is located in primary navigation, the snippet below allows you to move it to the secondary navigation.

Please note that the navigation search option should be activated under Layout > Primary Navigation in order for the snippet to work: