Jump to content

Does anyone know how i can change a link icon into the tiktok icon?

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

1 hour ago, Maame said:

Site URL: https://www.genzwearethefuture.org/

On the contact page, there is a place where i put social links and i want to find out if there is a way i can change the link icon into the tiktok icon.

Hello there, plese follow 

To add CSS, go to Design -> Custom CSS
 

image.thumb.png.e5dc929a16bbe11f0d5a59dde7674ad7.png

a.icon.icon--fill[href*=tiktok] {
  position: relative;
}
a.icon.icon--fill[href*=tiktok]:after {
      content: '';
    position: absolute;
    background: url(https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/tiktok.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

 

Edited by bangank36
change

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 2 weeks later...
On 8/30/2020 at 6:15 AM, bangank36 said:

Hello there, plese follow 

To add CSS, go to Design -> Custom CSS
 

image.thumb.png.e5dc929a16bbe11f0d5a59dde7674ad7.png


a.icon.icon--fill[href*=tiktok] {
  position: relative;
}
a.icon.icon--fill[href*=tiktok]:after {
      content: '';
    position: absolute;
    background: url(https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/tiktok.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

 

This didn't work for me so far. Website: khayrab.com

Link to comment

image.png.ab74a680507de64654ecd75c48bb802c.png

khayrab

a.sqs-svg-icon--wrapper[href*=tiktok] {
  position: relative;
}
a.sqs-svg-icon--wrapper[href*=tiktok] svg {
  display: none;
}
#contact a.sqs-svg-icon--wrapper[href*=tiktok]:after {
  filter: -webkit-filter: invert(0);
  filter: invert(0);
}
a.sqs-svg-icon--wrapper[href*=tiktok]:after {
      content: '';
    position: absolute;
    background: url(https://uxwing.com/wp-content/themes/uxwing/download/10-brands-and-social-media/tiktok.png);    
   filter: -webkit-filter: invert(1);
    filter: invert(1);
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.