EncoreGraphics Posted August 5, 2021 Share Posted August 5, 2021 Site URL: https://www.redmusicrising.ca/ I'm not 100% familiar with Squarespace and coding and am looking at changing the generic link icon for my client's tik tok link. I've tried various methods on this forum and have been unsuccessful. Link: https://www.redmusicrising.ca/ Link to comment
tuanphan Posted August 8, 2021 Share Posted August 8, 2021 On 8/6/2021 at 12:58 AM, EncoreGraphics said: Site URL: https://www.redmusicrising.ca/ I'm not 100% familiar with Squarespace and coding and am looking at changing the generic link icon for my client's tik tok link. I've tried various methods on this forum and have been unsuccessful. Link: https://www.redmusicrising.ca/ Hi, Do you use Personal or Business plan? Each plan will have a different solutions to solve this 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
EncoreGraphics Posted August 11, 2021 Author Share Posted August 11, 2021 On 8/7/2021 at 9:41 PM, tuanphan said: Hi, Do you use Personal or Business plan? Each plan will have a different solutions to solve this Business Link to comment
tuanphan Posted August 14, 2021 Share Posted August 14, 2021 On 8/11/2021 at 11:12 PM, EncoreGraphics said: Business Add to Settings > Advanced > Code Injection > Footer <script> var tiktoks = document.querySelectorAll('a[href*="tiktok"]') tiktoks.forEach(item => { item.innerHTML = ` <svg fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" viewBox="0 0 50 50"> <path fill-rule="nonzero" d="M37.006,22.323C36.779,22.344 36.549,22.358 36.316,22.358C33.693,22.358 31.388,21.009 30.047,18.97L30.047,30.507C30.047,35.216 26.229,39.034 21.52,39.034C16.811,39.034 12.993,35.216 12.993,30.507C12.993,25.798 16.811,21.98 21.52,21.98C21.698,21.98 21.872,21.996 22.047,22.007L22.047,26.209C21.872,26.188 21.7,26.156 21.52,26.156C19.116,26.156 17.168,28.104 17.168,30.508C17.168,32.912 19.116,34.86 21.52,34.86C23.924,34.86 26.047,32.966 26.047,30.562C26.047,30.467 26.089,10.968 26.089,10.968L30.105,10.968C30.483,14.559 33.382,17.393 37.006,17.653L37.006,22.323Z"/> </svg>` }) </script> 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
Futuresound Posted December 21, 2021 Share Posted December 21, 2021 Hi this worked great! Just wondering how you change the colour of the icon? At the moment it's showing in black for me but I'd like to change it to White. Link to comment
tuanphan Posted December 25, 2021 Share Posted December 25, 2021 On 12/21/2021 at 8:34 PM, Futuresound said: Hi this worked great! Just wondering how you change the colour of the icon? At the moment it's showing in black for me but I'd like to change it to White. Change for header tiktok or footer tiktok or which position? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment