mattr1998 Posted April 13, 2022 Share Posted April 13, 2022 (edited) 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%) } ---- 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 April 13, 2022 by mattr1998 Edit extra at bottom Link to comment
Beyondspace Posted April 17, 2022 Share Posted April 17, 2022 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%) } ---- 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
Beyondspace Posted April 17, 2022 Share Posted April 17, 2022 Hovering instagram Hovering TikTok mattr1998 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! 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
mattr1998 Posted April 17, 2022 Author Share Posted April 17, 2022 Thank you very much! 😃 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment