How to add a fixed item on top of search results?

Hi everyone, is there any way to add an item on top of the search results returned? I want to add a “View all results” on top of the results. thanks.

Hi Sunny!

You can customize the look and feel of an autocomplete field built with autocomplete.js. Head over to the repository’s README to see an example for this:

As you can see, there are header and footer templates that you can use to display whatever you want before or after a list of suggestions.

1 Like

thank you @sarah.dayan, exactly what I was looking for!