Jump to content

Custom Tiktok logo with ability to change colors like the other social icons

Recommended Posts

Posted

Hi there! I am working on a website that requires TikTok social icon. I have created the custom CSS to put the new icon in, however, it currently stays the same color on all backgrounds. Is it possible to have this change with the rest of the social icons? 

/* TikTok icon */
.sqs-svg-icon--wrapper.url div {
    visibility: hidden;
}
.sqs-svg-icon--wrapper.url {
    background-image: url(https://static1.squarespace.com/static/61ae43157dfe805523d824a3/t/61b38d68c0f82e26de0542a8/1639157097040/tiktok.png);
    background-size: cover;
    background-repeat: no-repeat;
}

On yellow background it looks correct. In footer (green background), I need it to change to white

image.png.b5d0bb29620f255ac85e9aa742cf610e.pngimage.png.4af422847c9c5250d7477d18d0d63f3c.png'

 

Thanks in advance!!

  • Replies 2
  • Views 548
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Hey @Csick17 we have a free solution for that which allows you to use the native Squarespace system to change the colors without using CSS. You can also add whatsapp and a few others that are missing from the system too. You can check it out here.

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Posted
On 12/15/2021 at 1:11 AM, Csick17 said:

Hi there! I am working on a website that requires TikTok social icon. I have created the custom CSS to put the new icon in, however, it currently stays the same color on all backgrounds. Is it possible to have this change with the rest of the social icons? 

/* TikTok icon */
.sqs-svg-icon--wrapper.url div {
    visibility: hidden;
}
.sqs-svg-icon--wrapper.url {
    background-image: url(https://static1.squarespace.com/static/61ae43157dfe805523d824a3/t/61b38d68c0f82e26de0542a8/1639157097040/tiktok.png);
    background-size: cover;
    background-repeat: no-repeat;
}

On yellow background it looks correct. In footer (green background), I need it to change to white

image.png.b5d0bb29620f255ac85e9aa742cf610e.pngimage.png.4af422847c9c5250d7477d18d0d63f3c.png'

 

Thanks in advance!!

If you share link to your site, we can help easier

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.