Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I remove a search bar and icon from my custom theme product page?

Solved

How can I remove a search bar and icon from my custom theme product page?

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
6317 1713 2061

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 7 (7)

webwondersco
Shopify Partner
1176 169 172

@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.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram
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
6317 1713 2061

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


nemanja031000
New Member
7 0 0

Thank you so much. It worked.

Moeed
Shopify Partner
6317 1713 2061

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


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
1176 169 172

@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.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram