Hello, I was wondering how to remove the search bar/icon from the header (Refresh Theme). Thank you in advance for your assistance!
Topic summary
Removing the search bar/icon from the Shopify Refresh theme header.
-
A CSS-based approach was provided: in Shopify Admin > Online Store > Themes > Actions > Edit code, open Assets > base.css and add a rule targeting the header search element (details-modal.header__search) with display: none !important to hide it.
-
An alternative was suggested via theme.liquid: edit code and add custom code above the closing tag. However, the specific code snippet was not included in the post, making this method unclear.
-
Attachments: screenshots were shared to illustrate the UI path and the end result (search removed), but the images are not necessary to apply the CSS method.
-
Status: No confirmation of resolution from the original poster. The CSS solution is actionable; the theme.liquid approach lacks the actual code and remains incomplete.
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the Bottom of the file:
details-modal.header__search {
display: none!important;
}
Hey @HenryA
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed

