Hello,
I have researched and reached out to the theme developers with no luck. On the Prestige theme, when I use the search icon function at the top, only 3 results show and then you have to click view more. I’d like to either 1) change the number of results that show or 2) have the search icon just go directly to the full search page when a search occurs.
I truly appreciate the help!
Hi @abrown0625 , The UX problem with #1 is wanting to cram more into a small area. Despite this being able to create an internal scroll bar on smaller viewports this is still a poor experience. So if you do that you have to test and test and test. Really such themes should be designed to auto direct to the full search page based on the available viewport aspect-ratio; if you view this in a browser with a bookmark toolbar and in the shopify store demo frame it’s a VERY cramped experience (see embedded image at bottom).
Offhand I think if you just remove the id Search from that disables it.
Always backup themes before changing files.
Find the following html probably in header.liquid section a search snippet or similar:
make it:
This may cause errors and issues if the related javascript does not fail gracefully when an element is missing.
The related javascript is in theme.js if it needs to just be commented out.
line~2930: var SearchBar = /#PURE/function () {
…
line~2395 hooks the forms containing element: this.searchElement = document.getElementById(‘Search’);
If you need this customized for you then contact me , info in sig. Please provide context: store url, theme name, post url and detail.
Cramped UX of auto mega search results: