brendaweicai Posted July 24, 2023 Posted July 24, 2023 (edited) Hello all! Site URL: https://brendaweicai.com I have injected this code into the footer of my page for a quick back to top link: <a href="#top" class="t-top"><span class="arrow"></span>Top</a> <style> /* Back to Top */ .t-top { font-weight: 300; letter-spacing: 2px; font-size: 15px; text-transform: uppercase; text-align: center; line-height: 1.6; padding-left: 2px; padding-top: 4px; position: fixed; right: 30px; bottom: 30px; width: 40px; height: 40px; z-index: 999; background-color: transparent; color: #000; } .t-top .arrow:before { font-family: 'squarespace-ui-font'; font-style: normal; font-weight: 300; font-size: 20px; line-height: 1; -webkit-font-smoothing: antialiased; content: "\e02d"; text-align: center; display: block; vertical-align: middle; transform: rotate(-90deg); cursor: pointer; margin-left: -4px; } .t-top .arrow {display:inline;} </style><a href="#top" class="t-top"><span class="arrow"></span>Top</a> <style> /* Back to Top */ .t-top { font-weight: 300; letter-spacing: 2px; font-size: 15px; text-transform: uppercase; text-align: center; line-height: 1.6; padding-left: 2px; padding-top: 4px; position: fixed; right: 30px; bottom: 30px; width: 40px; height: 40px; z-index: 999; background-color: transparent; color: #000; } .t-top .arrow:before { font-family: 'squarespace-ui-font'; font-style: normal; font-weight: 300; font-size: 20px; line-height: 1; -webkit-font-smoothing: antialiased; content: "\e02d"; text-align: center; display: block; vertical-align: middle; transform: rotate(-90deg); cursor: pointer; margin-left: -4px; } .t-top .arrow {display:inline;} </style> I was wondering if it was possible to change the font that the word "TOP" is in? To Poppins if possible? Edited July 24, 2023 by brendaweicai
Solution Ziggy Posted July 24, 2023 Solution Posted July 24, 2023 Yes, add this directly below .t-top { font-family: poppins; brendaweicai 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
CassAggett Posted July 24, 2023 Posted July 24, 2023 (edited) Hi Brenda, it looks like there's some incorrect code in your site - but not in the version you pasted above: Have you added this '12px poppins' in your custom css panel? If so, delete 'poppins' from this line. If you've added it to your footer code block, you'll need to delete the word from there as well and add another line with font-family: poppins; as Ziggy said, just wanted to make sure there wasn't a conflicted code as this isn't included above. Edited July 24, 2023 by CassAggett typo brendaweicai and Ziggy 2 Instruction: How to set a site-wide password If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM
brendaweicai Posted July 24, 2023 Author Posted July 24, 2023 Thank you both!! It's working! CassAggett and Ziggy 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment