Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Ahmed77

Add custom icon to search bar instead of magnifying glass

Question

Site URL: https://www.thirstforallah.com/en/home/resources/articles

Hey all, I'm trying to replace the magnifying glass in a search bar with the logo from my site. I believe I successfully did it, but am not sure how to align it and resize appropriately. The following is my css code:

 

.sqs-search-ui-button-wrapper.color-light .search-input {
    background-image: url(https://static1.squarespace.com/static/5e8b6752beaf194f7c179f65/t/5efb7d7fcbb31971d517acb1/1593539974063/TFALogoclearico.png);
    
    color: #f7f7f7;
    border: 1px solid #eee;
}

Any ideas? You can see what I'm talking about here: https://www.thirstforallah.com/en/home/resources/articles

 

Thanks!

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
On 7/5/2020 at 8:42 AM, tuanphan said:

It looks like you solved?

If no, can you describe in detail?

I did solve it by resizing the picture! Thank you!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...