Shopify themes, liquid, logos, and UX
Hey,
I'm trying to find a code to remove the search bar from the header on my custom theme, so far I've used the below code for my web version but I can't find a version to remove it from the mobile version.
<style>
.d-flex.remover-icon-search {
display: none !important;
}
</style>
Link to my store: https://essencecool.com/
Solved! Go to the solution
This is an accepted solution.
HI,
Add this CSS code
Online Store > Themes > Edit code > Assets > custom.css or theme.css
#nav-item-search{
display: none !important;
}
This is an accepted solution.
HI,
Add this CSS code
Online Store > Themes > Edit code > Assets > custom.css or theme.css
#nav-item-search{
display: none !important;
}
Thank you, it worked.
Can you help me with one more thing, if it's not a problem?
I would like to have a logo in the middle of the header in the mobile version.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025