AndrewFreedMusic Posted August 17, 2021 Posted August 17, 2021 Site URL: https://www.bassfreedom.com It would be a great addition for me to add my followers next to my social media icons (example attached). Any ideas? Thanks!
tuanphan Posted August 18, 2021 Posted August 18, 2021 14 hours ago, AndrewFreedMusic said: Site URL: https://www.bassfreedom.com It would be a great addition for me to add my followers next to my social media icons (example attached). Any ideas? Thanks! Hi, Icons in Header or? 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!)
AndrewFreedMusic Posted August 18, 2021 Author Posted August 18, 2021 Hey there! Icons in the header!! Or both... Thank you!!
tuanphan Posted August 22, 2021 Posted August 22, 2021 The CSS code .header-display-desktop a[href*="tiktok"]:before { content: "50.1k"; display: block; position: relative; top: 42px; font-size: 12px; color: white; } .header-display-desktop a[href*="facebook"]:after { content: "50.1k"; display: block; color: #fff; font-size: 12px; white-space: nowrap; text-align: center } Repeat for other social icons 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!)
RoseMontoya Posted November 9, 2021 Posted November 9, 2021 (edited) On 8/21/2021 at 10:08 PM, tuanphan said: The CSS code .header-display-desktop a[href*="tiktok"]:before { content: "50.1k"; display: block; position: relative; top: 42px; font-size: 12px; color: white; } .header-display-desktop a[href*="facebook"]:after { content: "50.1k"; display: block; color: #fff; font-size: 12px; white-space: nowrap; text-align: center } Repeat for other social icons I tried using this code, but instead of displaying my follower count below my social icons, it's displaying right on top of them. I'm using a very similar code to replace my social icons to display I'm verified, and so they're all relatively uniform looking. I tried changing the file I use for the icon images and added the follower count below, but then the icons become too small to see even when XL on squarespace. Any advice? Here's my codes: .sqs-svg-icon--wrapper[href*=tiktok] .sqs-svg-icon--social { display: none; } .sqs-svg-icon--list:hover .sqs-svg-icon--wrapper[href*=tiktok] { background: transparent; } .sqs-svg-icon--wrapper[href*=tiktok] { background: transparent; } .sqs-svg-icon--wrapper[href*=tiktok]:hover { background: transparent !important;; } .sqs-svg-icon--wrapper[href*=tiktok] > div { display: inline-block; background: url(https://static1.squarespace.com/static/60f50214bba3cc78be7f20ff/t/61608869f5bde62c05de0a63/1633716329879/Untitled+design+%2857%29.png) no-repeat; background-size: cover; width: 55%; height: 49% ; top: 22%; left: 15%; transform: translate(-50%, -50%) } .sqs-svg-icon--wrapper[href*="tiktok"]:before { content: "684.9k"; display: block; position: relative; top: 10px; font-size: 12px; color: white; } Edited November 9, 2021 by RoseMontoya added photo
tuanphan Posted November 11, 2021 Posted November 11, 2021 On 11/10/2021 at 3:14 AM, RoseMontoya said: I tried using this code, but instead of displaying my follower count below my social icons, it's displaying right on top of them. I'm using a very similar code to replace my social icons to display I'm verified, and so they're all relatively uniform looking. I tried changing the file I use for the icon images and added the follower count below, but then the icons become too small to see even when XL on squarespace. Any advice? Here's my codes: .sqs-svg-icon--wrapper[href*=tiktok] .sqs-svg-icon--social { display: none; } .sqs-svg-icon--list:hover .sqs-svg-icon--wrapper[href*=tiktok] { background: transparent; } .sqs-svg-icon--wrapper[href*=tiktok] { background: transparent; } .sqs-svg-icon--wrapper[href*=tiktok]:hover { background: transparent !important;; } .sqs-svg-icon--wrapper[href*=tiktok] > div { display: inline-block; background: url(https://static1.squarespace.com/static/60f50214bba3cc78be7f20ff/t/61608869f5bde62c05de0a63/1633716329879/Untitled+design+%2857%29.png) no-repeat; background-size: cover; width: 55%; height: 49% ; top: 22%; left: 15%; transform: translate(-50%, -50%) } .sqs-svg-icon--wrapper[href*="tiktok"]:before { content: "684.9k"; display: block; position: relative; top: 10px; font-size: 12px; color: white; } What is your site url? 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!)
fhillm Posted August 26 Posted August 26 Looking to do the same but on mobile and on this "unlinked" page: www.nyane.co/igbio-1
tuanphan Posted August 30 Posted August 30 On 8/26/2024 at 3:56 PM, fhillm said: Looking to do the same but on mobile and on this "unlinked" page: www.nyane.co/igbio-1 Use this code to Website Tools > Custom CSS div#block-25144a4cc5f95259e6aa { a.sqs-svg-icon--wrapper { overflow: visible !important; } a.sqs-svg-icon--wrapper:after { color: #fff; position: absolute; bottom: -20px; overflow: visible !important; } a.sqs-svg-icon--wrapper[href*="instagram"]:after { content: "150"; } a.sqs-svg-icon--wrapper[href*="TikTok"]:after { content: "300"; } a.sqs-svg-icon--wrapper[href*="facebook"]:after { content: "100"; } a.sqs-svg-icon--wrapper[href*="youtube"]:after { content: "600"; } a.sqs-svg-icon--wrapper[href*="twitter"]:after { content: "30"; }} 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment