Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi! Does anyone know whats the easiest way to remove search icon from the header in Shopify's Dawn default theme?
Solved! Go to the solution
This is an accepted solution.
can you please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file.
.header__icon--search {
display: none;
}
hii, @Orihov
Kindly share your store URL so,
I can solve your issue.
Thank You.
Hi @Orihov,
Hope you are well.
Please follow the below steps:
.header__search {
display: none!important;
}
Hope that helps.
Thanks
This is an accepted solution.
can you please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css->paste below code at the bottom of the file.
.header__icon--search {
display: none;
}
hii, @Orihov
Paste this code on top of the base.css file.
summary.header__icon.header__icon--search.header__icon--summary.link.link--text.focus-inset.modal__toggle {
display: none !important;
}
Thank You.
How to remove the search icon from Dawn’s header
You might want to do this if you don’t have any need for the search in the header
It can look stupid — and sometimes you just don’t want it to appear in the header because it’s appearing somewhere else
In this case, it’s incredibly easy to change, just follow these steps:
First go to edit your code
go to base.css
add this code at the bottom
.header__icon--search {
display: none;
}
Before
After
And we are done!
If you are referring to disabling the search feature in Dawn 3.0.0, you can do that in the editor.
Header -> Header settings -> Uncheck 'Enable Search'
No code changes needed
This works!!! Thank you!
User | RANK |
---|---|
206 | |
108 | |
86 | |
56 | |
45 |