I would like to customize both the desktop and mobile header search experience on our website.
Desktop Header – Search Bar UI
On desktop, I want the search bar to be displayed as a full-width input bar, not just a search icon. I will share a reference image for the exact look and placement we want.
The search bar’s purpose is very specific:
This website is for school uniforms, and the search bar should function as “Find Your School”.
Search Functionality Requirements
-
The search should only return School collections
-
It should NOT return:
-
Products
-
Pages
-
Blog posts
-
Accessories or non-school collections
-
-
If a user searches for something unrelated (for example: “sportswear”), it should not show products or collections, and instead display a polite default message, such as:
“No school found with this name. Please try searching for your school.”
Collection Logic
We will have multiple collection types in the store, such as:
-
School collections
-
Product-type collections
-
Accessories and others
However, the search bar must work only with School collections and completely ignore all other collection types.
Reusable Search Block
Additionally:
-
I want the search bar to be created as a reusable block/section
-
So that we can place the same search bar in multiple positions across the site (header, homepage section, etc.)
Mobile Header
For mobile:
-
The search experience should be optimized for mobile
-
UI/UX can differ from desktop if needed, but the search logic must remain the same (school-only search)
Please let me know:
-
The best way to set this up
-
Whether this can be achieved via theme customization, Shopify search settings, or a dedicated search app
-
Any limitations or recommendations you suggest for this setup
website: https://solxuniform.myshopify.com/
password: fds1
Reference website: https://www.swischoolwear.co.uk/
check the header search bar

