Jump to content

Adding 'TikTok' and 'Giphy' Social Icon for top right Header.

Recommended Posts

Site URL: https://vespertine.uk/

https://vespertine.uk/

Hi there,

I've linked my website above. Could anyone please write me a code injection I can add to the Header so that rather than having these two hyperlink symbols next to the Instagram symbol. Can they instead display the respective social link logos for TikTok and Giphy  (matching the style of the instagram logo). I was hoping SquareSpace would update this but it appears they have not. I really appreciate whoever is able to help. 

Thanks so much!

Sam

 

image.png.7891ad534ac9173b3d6150f5d8f76dfe.png

Link to comment
On 4/9/2021 at 8:13 PM, Vespertine said:

Site URL: https://vespertine.uk/

https://vespertine.uk/

Hi there,

I've linked my website above. Could anyone please write me a code injection I can add to the Header so that rather than having these two hyperlink symbols next to the Instagram symbol. Can they instead display the respective social link logos for TikTok and Giphy  (matching the style of the instagram logo). I was hoping SquareSpace would update this but it appears they have not. I really appreciate whoever is able to help. 

Thanks so much!

Sam

 

image.png.7891ad534ac9173b3d6150f5d8f76dfe.png

try


.SocialLinks-inner a[href*="tiktok"] svg,
.SocialLinks-inner a[href*="giphy"] svg{
  display: none;
}
.SocialLinks-inner a[href*="giphy"]:after {
  content: '';
  background-image: url('https://cdn.iconscout.com/icon/free/png-256/giphy-3215407-2673825.png');
  width: 25px;
  height: 25px;
  background-size: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  filter: invert();
}
.SocialLinks-inner a[href*="tiktok"]:after {
  content: '';
  background-image: url('https://cdn.iconscout.com/icon/free/png-256/tiktok-2270636-1891163.png');
  width: 25px;
  height: 25px;
  background-size: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  filter: invert();
}

image.thumb.png.94d4163dd6491ef8329e5162ea091061.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.