Solved

How to remove the header search bar entirely on Fetch theme?

begoodcoffeeco
Excursionist
12 0 6

There is no base.css file to be found

Accepted Solution (1)

devcoders
Shopify Partner
190 31 48

This is an accepted solution.

Hi @begoodcoffeeco 

- Go to Online Store -> Theme -> Edit code.
- Find the file assets/components.css and paste the code below at the bottom of the file.

 

predictive-search {
display: none;
}

 

devcoders_0-1717308722825.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 4 (4)

PageFly-Henry
Shopify Partner
1161 329 280

Hi @begoodcoffeeco 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag </body> -> save.

 

 




<style>
[href="/search"] {

    display: none !important;

}
</style>

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

devcoders
Shopify Partner
190 31 48

This is an accepted solution.

Hi @begoodcoffeeco 

- Go to Online Store -> Theme -> Edit code.
- Find the file assets/components.css and paste the code below at the bottom of the file.

 

predictive-search {
display: none;
}

 

devcoders_0-1717308722825.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!
begoodcoffeeco
Excursionist
12 0 6

Thank you very much! This worked.

devcoders
Shopify Partner
190 31 48

Hi @begoodcoffeeco 

 

Great to hear that the issue has been resolved! If my assistance was helpful, please consider liking and accepting the solution. Feel free to reach out if you have any further questions.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!