Jump to content

Add custom icon to search bar instead of magnifying glass

Go to solution Solved by tuanphan,

Recommended Posts

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!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.