Jump to content

How to change mail/link icon on social links?

Recommended Posts

3 hours ago, Venera said:

Site URL: https://heptagon-brass-6xej.squarespace.com/

Hi guys!

I have not found an answer anywhere how to change the standard mail icon and also add my own icons instead of link icon.
How do I change this?  Does anyone have a code?

https://heptagon-brass-6xej.squarespace.com/
pw - hello

1.png

mail.png

c862d4bffcc75c44810a0cd1576beb37f90c5c24.png

Try adding to Home > Design > Custom Css

.sqs-svg-icon--wrapper[href*='foundation'] svg{
  visibility: hidden
}

.sqs-svg-icon--wrapper[href*='foundation']:after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-image: url('https://api.iconify.design/akar-icons/tiktok-fill.svg?color=white');
  background-repeat: no-repeat;
  background-position:center center;
  background-size: contain;
}

Change the link to your image of social icon

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
18 hours ago, bangank36 said:

Try adding to Home > Design > Custom Css

.sqs-svg-icon--wrapper[href*='foundation'] svg{
  visibility: hidden
}

.sqs-svg-icon--wrapper[href*='foundation']:after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-image: url('https://api.iconify.design/akar-icons/tiktok-fill.svg?color=white');
  background-repeat: no-repeat;
  background-position:center center;
  background-size: contain;
}

Change the link to your image of social icon

Let me know how it works on your site

Thank you! It works! How to do the same with mail icon -  replace one envelope with another?

Edited by Venera
Link to comment
1 hour ago, Venera said:

Now the basics logo looks very small in a square space. How can I enlarge the logo and not fit it into a square, but fit it into a rectangle so that it looks a little bigger?

Screenshot_2.png

Try this code

.sqs-svg-icon--wrapper {
    overflow: visible;
}
.sqs-svg-icon--wrapper[href*='foundation']:after {
    transform: scale(1.5);
}

 

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.