Use Shopify search bar instead of search icon in sense theme

Hello shopify community, I would like to use the default search bar instead of the search icon on Shopify’s Sense theme.

To be clear, this one:

Search bar

Can someone help me remove the original icon and place this box on the center top of my website?

Thanks in advance!

Regards,

Thomas

@thomas_vdlaan - can you share site link? it needs custom coding

Hi Suyash1, thank you for your reply. The website is www.clinigifts.com

Regards,

Thomas

@thomas_vdlaan - this will need some code editing, but the issue is that it will change on mobile too

Thats not a problem if the search bar can appear under the logo. Can you help me with it?

@thomas_vdlaan - you want something like this? it will be visible on desktop only, on mobile will be as it is right now

1 Like

Hi Suyash1, that’s a step in the right direction. I would like the bar centered between the logo and the account icon. And if the bar could be a little wider without the cross icon behind it that would be great. Thanks for the effort!

@thomas_vdlaan - it can be done, will need to edit theme code files, can you add me to site?

Hi Suyash1 I sent you an invite, thanks!

@thomas_vdlaan - checking, will keep you updated

1 Like

@thomas_vdlaan - please check, also if it is possible then please send me an email so I can share the screenshots too

Hello, thank you for your time. A few things:

  • I feel like the search bar is not in the center, shouldn’t it be more to the right?

  • The tap on logo to go to the home screen does not work anymore

  • I can’t use the search button on my phone

  • There is no logo or search bar on my ipad

I hope you can fix these problems, other than that, thanks and great job!

Good morning Suyash,

It looks a lot better now, thanks!

Three more things:

  • When in windowed mode the search bar is not visible and the search icon is also not visible
  • Is it possible to change the word “Zoeken” located in the bar to “Waar ben je naar op zoek?”
  • I feel like the search bar is still not in the center if you compare it with the words on the purple announcement bar, and the second search bar (please see the picture below). Can you re-try to center the first search bar like the second search bar?

Thank you so much for your effort.

Regards,

Thomas

please clear the cache and check all 3 changes

The first two are done. Thanks! The search bar is still not in the center. You matched the left side of the second search bar, but the right side of the first bar is longer, so it’s not in the center. If it’s easier for you, you can match the sizes of both bars.