Hi there,
For some reason, the solutions in other threads are not working on my theme. Anyone have feedback on how I can remove the Search button from my header?
Site: https://guisemen.com/
Thank you in advance.
Hi there,
For some reason, the solutions in other threads are not working on my theme. Anyone have feedback on how I can remove the Search button from my header?
Site: https://guisemen.com/
Thank you in advance.
Hey Sanda ā Iād be concerned about removing the bar code entirely due to stability reasons. Additionally, are you referencing the header.liquid or a portion of base.css code? More detail would be helpful
Hey,
Go to online store > theme > actions > edit code.
Find assets folder > base.css file.
Copy and paste this code at the bottom of the file.
.header__icon--search {
display: none;
}
Result:
Hope this helps!
Hey Dannelo,
Really appreciate the hand. This code works within Chrome > Inspect but does not appear on my site when I edit the base.css code oddly. Suggests to me that something might be overriding it. Same thing when I add !important flag. Do you have any recommendations on how I might troubleshoot? I added the code you suggested, if helpful.
Appreciate the guidance.
Hey, please replace the code I gave you with this new one.
.header__search {
display: none !important;
}
Let me know!
For anyone in the future, using this code helped me get rid of it:
![]()