Jump to content

Replace Link Icon in Social Links

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Site pw: F3rgie2024!

Hello,

I've managed to change the Link Icon to a custom icon (png file uploaded in CSS) using the below:

.icon--fill:nth-of-type(3) {
 color:rgba(0,0,0,0);
    background-image: url(https://static1.squarespace.com/static/65e93cc00c653a11c1976980/t/65fd036d69dcf652f1724074/1711080301766/icon-line.png);
    background-size: 100%;
  background-repeat: no-repeat;
}

It's the third icon on the header menu. However, I cannot mange to change it in the Mobile menu. Can you please help with CSS for this? Thank you in advance!

  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted
On 4/5/2024 at 9:56 PM, lylynguyen said:

Sorry, I thought the site was disclosed in one of the ticket's fields.

https://porcupine-toucan-8j23.squarespace.com/

Site pw: F3rgie2024!

Use this code for both desktop + mobile

header#header [href*="lin.ee"] {
    color: rgba(0,0,0,0);
    background-image: url(https://static1.squarespace.com/static/65e93cc00c653a11c1976980/t/65fd036d69dcf652f1724074/1711080301766/icon-line.png);
    background-size: 100%;
    background-repeat: no-repeat
}

 

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!)

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.