A user wants to modify their Shopify Dawn theme’s mobile header by:
Goal:
Remove the magnifying glass search icon from the header bar (currently visible in top navigation)
Add a search bar inside the mobile menu instead
Current Status:
A solution was provided using CSS media queries to hide the header search icon on mobile devices (screens under 767px width)
The code targets .header__icons.header__search with display: none
Outstanding Question:
The original poster confirmed they want to hide the icon but specifically asked how to add a search bar within the menu itself
This second part (adding search to the menu) remains unanswered
The discussion is ongoing, as the CSS solution only addresses hiding the existing search icon, not implementing the menu-based search functionality requested.
Summarized with AI on November 22.
AI used: claude-sonnet-4-5-20250929.
I would like to know if it is possible to (only on mobile) delete the search bar (logo of a magnifying glass see the Red Circle Numero 1 on the photo below) in the menu bar (header). And put a search bar in the menu as we see below (circle number 2).