Hi,
I want to change the color around my search bar in the dawn theme. Currently, It’s using the standard foreground color of the theme. While I want to use a custom color for just the outline of the bar.
To be more specific, there is an animation that changes the color outline when clicking on the bar. I want the color changed of the bar after you’ve clicked on the bar. I’l attach 2 files of the before and after when you click on the bar currently. When the outline goes black. I want the black to be #237D62
Hopefully, someone knows a solution.
Picture underneath here is before. This should not change

Picture underneath here is after clicking on the bar. I’d preferably make the outline the color #237D62

Thanks for your help already!
Please share your site URL,
I will check out the issue and provide you a solution here.
Hello @BramVrolijk
It’s GemPages support team and glad to support you today.
I would like to give you a solution to support you.
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid theme file.
-
Paste the below code before :
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Hi @BramVrolijk
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag
Hope this answer helps.
Best regards,
Victor | PageFly
Hi,
This helps. However, it could be better. Because this makes it so that when you hover it changes color. On phone, it’s still becoming black sometimes when you click off. Also when you zoom in on pc, you see the old black line around it.
Is it not possible to change what color it picks from in the theme → settings → color
This would make it so it will function without bugs.
Hopefully there are more solutions that could fix the issue.
Thanks for the help anyway!
Hi, I responded to another suggestion that was similar to yours. It’s not fully waterproof. And does not solve the issue in the end. Some bugs make it unusable.
But thanks for the suggestion it does work but not without its issues.
Can you share the URL so I can check more about this?
Hi,
URL: https://royalpeace.com/
Password: Vitamins1970’s
The search bar is also wrong when searching for products we don’t have.
Here an example: https://royalpeace.com/search?q=gg&options%5Bprefix%5D=last
It also has a small search bar at the bottom left that should not be there.
Thanks for looking!
The default border of the form is currently bow-shadow so I can’t change the color completely on click I can only change the border color of the form on mobile I hope this code can help you
The problem is that the search can’t find the product you want, you should contact the theme or Shopify so they can check more deeply about the data.