brendaweicai Posted July 24 Share Posted July 24 (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 by brendaweicai Link to comment
Solution Ziggy Posted July 24 Solution Share Posted July 24 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 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
CassAggett Posted July 24 Share Posted July 24 (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 by CassAggett typo Ziggy and brendaweicai 2 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 Link to comment
brendaweicai Posted July 24 Author Share Posted July 24 Thank you both!! It's working! Ziggy and CassAggett 1 1 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