Jump to content

Tiktok header icon color change needed

Recommended Posts

Site URL: https://www.marydisomma.com

I can't figure out how to change the color of my tiktok social link icon in the header of a client's site. I've tried using code from several different threads I found in the forum, but I just couldn't make any of them work.

Also, tiktok icon is only showing up on the homepage. On the other pages, a hyperlink icon shows instead. I need the tiktok icon in the header of each page, and it needs to be #5793ce.

Thank you to the folks who help here on the forum. You guys are life savers! 🙂

tiktok social icon color.png

Edited by AnaDavisDesign
Link to comment
  • Replies 8
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

12 hours ago, AnaDavisDesign said:

Site URL: https://www.marydisomma.com

I can't figure out how to change the color of my tiktok social link icon in the header of a client's site. I've tried using code from several different threads I found in the forum, but I just couldn't make any of them work.

Also, tiktok icon is only showing up on the homepage. On the other pages, a hyperlink icon shows instead. I need the tiktok icon in the header of each page, and it needs to be #5793ce.

Thank you to the folks who help here on the forum. You guys are life savers! 🙂

tiktok social icon color.png

Hi. Your tiktok is IMAGE, can't change image color.

To change color, design a new image with color you want, then use code to add new tiktok image.

Another way is add Tiktok icon with FontAwesome Icon, thus you can change color, size easier.

What do you think?

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
On 7/28/2021 at 8:36 PM, AnaDavisDesign said:

Oh! That explains it. I would try font awesome, but I don't have the font. Do I have to buy it?

I still have the other issue, that the hyperlink icon is on every other page. Do I need to use code injection for this on every page of the website?

No Need. Fontawesome is free.

You need to 2 steps

First, add this code to Code Injection > Header.

if your plan is Personal >> Edit Site Footer >> Add a Code Block >> paste this code

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">

Step 2. When you're done, let me know. We will check code to add Tiktok

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
5 hours ago, AnaDavisDesign said:

I added the code to my header on the Home page. But will I have to do this for EVERY page? 

Add to Settings > Advanced > Code Injection > Header, not Homepage Header

Add to Design > Custom CSS

/* tiktok icons size */
 [href*="tiktok"] {
    width: 30px !important;
    height: 30px !important;
    visibility: hidden;
  }
/* add tiktok */
  a[href*="tiktok"]:before {
    content: "\e07b";
    visibility: visible;
    font-family: "Font Awesome 5 Brands";
    position: relative;
    top: 5px;
}

 

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
  • 5 months later...
20 hours ago, quillconsultingllc said:

@tuanphan  code worked great for header.  please advise on footer.

 

www.quillconsulting.com

Add this code for Footer

footer.sections a[href*="tiktok"]:before {
    border: 2px solid white;
    width: 36px;
    height: 36px;
    display: inline-block;
    border-radius: 50%;
    top: -15px;
}
footer.sections a[href*="tiktok"] {
    overflow: visible;
    width: auto !important;
    height: auto !important;
}

 

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.