Jump to content

Custom search icon png in 7.0 Brine

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution
On 10/10/2021 at 11:56 AM, hostyle01 said:

Site URL: https://caterpillar-dog-ya7c.squarespace.com/

Hi,

I am trying to add a custom png to replace the magnifying glass search icon in my header nav. Using 7.0. I've tried some code I found but it didn't work, it might have been for 7.1. Thank you!

password: doublelives

Try adding to Design > Custom CSS

header.Header .Header-search-form-submit {
    background-image: url(https://cdn.pixabay.com/photo/2021/10/03/04/21/woman-6676901__340.jpg);
    background-size: contain;
}
header.Header .Header-search-form-submit svg {
    visibility: hidden;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.