Remove search bar and icon

Solved
nemanja031000
New Member
7 0 0

I'm using a custom theme on Shopify, and I want to remove the search bar and one more thing on the product page. I tried every method that I could find, but it didn't work. I don't have the base.css file also. In following screenshot is the other thing I want to remove. Thank you in advance.

1a1.png

Accepted Solution (1)
Moeed
Shopify Partner
3046 760 924

This is an accepted solution.

Hey @nemanja031000 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.d-flex.remover-icon-search {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1697278682733.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 7 (7)
webwondersco
Shopify Partner
476 78 83

@nemanja031000 ,

 

Could you please share your store URL and share what to hide with a screenshot?

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- Coffee Tip? 🙂
nemanja031000
New Member
7 0 0

https://essencecool.com/

Do you need this link? And there is nothing to remove except the search bar. I figured out that other thing. 

Moeed
Shopify Partner
3046 760 924

This is an accepted solution.

Hey @nemanja031000 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.d-flex.remover-icon-search {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1697278682733.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
nemanja031000
New Member
7 0 0

Thank you so much. It worked.

Moeed
Shopify Partner
3046 760 924

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
nemanja031000
New Member
7 0 0

Well, I just realized that it didn't remove the search bar from the mobile view.

Can you help me with that?

webwondersco
Shopify Partner
476 78 83

@nemanja031000 , would you like to hide the header search bar?

 

if yes then open your customize screen and check your header settings you'll find the option to hide or show the search bar.

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- Coffee Tip? 🙂