Hey,
does anybody know how to get an open search bare instead of an icon in the Dawn theme? But still has the dropdown effect with products coming up when you have finished the title you are looking for. So should still work as normally but just with the bar instead of an icon.
Best regards,
Oliver
3 Likes
Hey @AmetaComputer ,
Can you share the store link and password (if any) ?
Hey,
Thanks a lot for your reply,
The URL is: https://6b0cd1-3.myshopify.com/
And the Code is: Ameta1234
Also is it possible to make the corners curved? :))
Hey @AmetaComputer ,
That nearly exhausted me! Itâs gonna be a little tricky so be very careful here alright 
- In your theme go to âEdit Codeâ
- In the search bar type âheader.liquidâ and click on the file âheader.liquidâ in the âSectionsâ folder.
- Around line 296, look for the following line that says {% render âheader-serachâ, input_id: âSearch-In-Modalâ %}
- Now hereâs the tricky part. Replace it with the following. Be very careful not to touch anything else, and then hit âSaveâ!
{% render 'header-search', input_id: 'Search-In-Modal' %}
{%- if settings.predictive_search_enabled -%}
{%- else -%}
{%- endif -%}
You should see the changes now.
3 Likes
Thank you so much!!!
Is it possible to hire you for creating a product template for us? haha,
Hi! I just tried this solutions. Still works great! How would I do to expand the search bar full widht? Iâve set the menu as a drawer followed by the logo and then to the right search, account and cart - and would like the search bar to extend all the way to the logo.
Hey @eliamal ,
Please share the link to your store, thanks!
Hey @eliamal ,
Go to your themeâs âEdit Codeâ Option, then in the search bar type âtheme.liquidâ
Below the tag ââ tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
I canât get it to work. Did I do anything wrong?
Hey @eliamal ,
No. Could you add !important tag for these two
The final code should look like this, you can also remove the previous and replace with this.
That worked! Do you think itâs also possible to get the search results aligned under the box? It looks a bit misplaced now 
In the very first code, change left: to âunsetâ
and translateX(50%) to 0%
It should look like
left: unset;
transform: translateX(0%);
youâre a legend, thank you!
Hi, this is great and worked for our store! How do I change the background of the search box? not the dropdown menu that comes up with searching, just the actual search. To look like this, instead of white:

Thank you!
my search bar is on the left side can you send me a code to make it work please and thank u.
Is there any way to edit this code and center and widen the search bar in the header?
Is there a way to get the search bar to be centered on the page, and maybe 50% wider? Thank you.
Link for reference: https://www.partyfairfreehold.com/
Can this code by coded for drop down or mega menu with logo in top left?
1 Like
Can you make this work with the mega menu and the top left layout? iâve tried tweeking a few things but cant get it to work.