Jump to content

Footer icons fade but custom TikTok icon does not fade

Recommended Posts

Site URL: https://www.twenty4seventrends.com/london-personal-shopper

Hi, please could someone advise me on how to make the TikTok logo in the footer fade when other icons like Facebook, Instagram, Pinterest, Spotify, are selected besides it. 

Thank you very much!

-

Here is the code for the TikTok logo,

.sqs-svg-icon-- wrapper[href*=tiktok] 
.sqs-svg-icon--social { 
display: none; } 
.sqs-svg-icon--list:hover 
.sqs-svg-icon--wrapper[href*=tiktok] { 
background: #FFFFFF; } .sqs-svg-icon--wrapper[href*=tiktok] { 
background: #FFFFFF; } 
.sqs-svg-icon--wrapper[href*=tiktok]:hover{ 
background: #FFFFFF !important;; 

.sqs-svg-icon--wrapper[href*=tiktok] > div { 
display: inline-block; 
background: url(https://static1.squarespace.com/static/5df682403e4f3755a0064ca9/t/624dfc919e023b4afd9f2cc2/1649278097668/t4st_tiktoklogo.png) no-repeat; background-size: cover; 
width: 41%; 
height: 51% ; 
top: 23%; 
left: 27%; 
transform: translate(-50%, -50%) }
 

1.png

2.png

----

nav.sqs-svg-icon--list:hover a {
    opacity: 0.5;
}

 

I have tried this code but the issue is that it overlaps the fade makes everything fade 

Edited by mattr1998
Edit extra at bottom
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

On 4/13/2022 at 10:29 PM, mattr1998 said:

Site URL: https://www.twenty4seventrends.com/london-personal-shopper

Hi, please could someone advise me on how to make the TikTok logo in the footer fade when other icons like Facebook, Instagram, Pinterest, Spotify, are selected besides it. 

Thank you very much!

-

Here is the code for the TikTok logo,

.sqs-svg-icon-- wrapper[href*=tiktok] 
.sqs-svg-icon--social { 
display: none; } 
.sqs-svg-icon--list:hover 
.sqs-svg-icon--wrapper[href*=tiktok] { 
background: #FFFFFF; } .sqs-svg-icon--wrapper[href*=tiktok] { 
background: #FFFFFF; } 
.sqs-svg-icon--wrapper[href*=tiktok]:hover{ 
background: #FFFFFF !important;; 

.sqs-svg-icon--wrapper[href*=tiktok] > div { 
display: inline-block; 
background: url(https://static1.squarespace.com/static/5df682403e4f3755a0064ca9/t/624dfc919e023b4afd9f2cc2/1649278097668/t4st_tiktoklogo.png) no-repeat; background-size: cover; 
width: 41%; 
height: 51% ; 
top: 23%; 
left: 27%; 
transform: translate(-50%, -50%) }
 

1.png

2.png

----

nav.sqs-svg-icon--list:hover a {
    opacity: 0.5;
}

 

I have tried this code but the issue is that it overlaps the fade makes everything fade 

Try adding to Home > Design > Custom css

nav.sqs-svg-icon--list:hover a[href*='tiktok'] {
  opacity:0.4;
}

nav.sqs-svg-icon--list a[href*='tiktok']:hover {
  opacity: 1;
}

Let me know how it works on your site

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, Keyword Highlighter
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

Hovering instagram

image.thumb.png.cb6f5da9215351a5b544cea91774c9cc.png

Hovering TikTok

image.thumb.png.ed3436b0eeced7127d37646f2d516876.png

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, Keyword Highlighter
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.