jecbon
1

Hey guys, I’m wanting to hide the search button in my header across mobile and pc.
Tried the following code bottom of base.css without any luck:
.header__icon–search {
display: none;
}
Please let me know if anyone can assist me.
it should be a generic solution so no need for URL and password 
Thank you!
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:
.header__search {
display: none!important;
}
jecbon
3
Thank you for the reply but this does not work? I added to the bottom of base.css and saved and it does not work.
I have dawn 2.0 theme not sure if you read that properly.
@jecbon
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! 
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
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;
}
jecbon
6
@KetanKumar you have my store url and password in direct messages. Please assist .
jecbon
7
@ZestardTech hey that did not hide the search button? What do i do. Using Dawn 2.0.
@jecbon
can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/base.css ->paste below code at the bottom of the file.
details-modal.header__search {
display: none !important;
}
jecbon
9
@KetanKumar That code does not work 