Hello there,
I would like to ask you for help with changing search icon from original setting to custom as on the picture.
Is there any way to change it please? Thank you very much in advance.
Hello there,
I would like to ask you for help with changing search icon from original setting to custom as on the picture.
Is there any way to change it please? Thank you very much in advance.
Hey @EliskaM ,
Please provide store URL
Hey there, it’s:
https://krasopiska.myshopify.com/
Password: chedow
Just to clarify my request: The point is to display the text all the time, not only when clicked. Also my e-shop is in czech language, so the text should be something like: Potřebuji vyhledat
Thank you very much for your effort and time
Hello again @EliskaM ,
Inside you header.liquid file, replace the code for the search icon with the following code:
And add the following code to the bottom of your base.css file:
.search-field {
display: inline-flex;
align-items: center;
background-color: #f0f0f0; /* Set your desired background color */
padding: 10px 20px; /* Adjust padding as needed */
border-radius: 5px; /* Rounded corners */
border: 1px solid #ccc; /* Add a border */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.search-field svg {
margin-right: 10px; /* Adjust the spacing between icon and text */
}
.icon-text {
font-weight: bold;
white-space: nowrap;
}
Of course you can edit the parameters so the field will look as you wish.
We are here for any questions, hope we helped!
Thank you very much!! Really appreciate your effort
Could you please navigate me where exactly put this code? l’m begginer
Of course!
If you have any further questions, don’t hesitate to reply. If you managed to apply the changes, please mark our reply as a solution
Nice to hear from you
Thank you for your help, I just don’t know where exactly to put the first code. Like how to exactly do this:
Inside you header.liquid file, replace the code for the search icon with the following code:
Let us make the changes for you, we have sent a collaborator request.
Hello again @EliskaM ,
We have made the changes, done!
Hey there!
I can see it now. I’m very sorry but its very different from my request. Can I customize it to the same design as on my first message?
Yes, at the end of your base.css file, change the values as you wish
hello can you tell me how can I change the search icon, I have the SVG to be placed but I dont know which code to be replaced with