The Hideseek plugin is very light and simple to use. It is exactly what can make your page more friendly and help users find faster what they want.
First step is to create our hierarchy/structure in the page. For that we need:
The search bar can be added manually with code in an HTML embed widget, or use a form block and delete all other fields and buttons (leave only one input field). In both cases, add an ID to the search bar.
The container should have a classname or an ID.
<input id="search" placeholder="search for anything" type="text" name="">
2nd step, add the plugin script source (I use CDN, you can download from here and upload to your server) before the </body> tag.
Last step is to initiate the plugin with some configurations.
The '#search' is the ID of the search bar. This is how the plugin knows that when we type in this specific search bar, it should search the container. The '.wrapping-div' is the classname of the container to search in.
'nodata' is a VERY SIMPLE empty state. Only text, which can be styled by targeting the '.no-results' classname. 'highlight: true' highlights the search term in the results (could also be styled by targeting the '.highlight' classname).
nodata: 'Ooops... Nothing here...',
A very simple mega navigation bar, opens on hover and changes background color on scroll.
A script to automatically switch between tabs in a loop.
Makes the dropdown element (usually inside navigations) indicate when a current state is active on one of the pages within.