raccan Posted January 4 Share Posted January 4 When my website was changed from version 7.0 to 7.1 it seemed to break the custom fonts that were previously uploaded so easily. 😞 I am now trying the CSS route although this is my first shot at coding. The below worked for a few days, but ultimately broke. Any help/tips appreciated! @font-face { font-family: 'FontTitle'; src: url('https://static1.squarespace.com/static/643af7a92ed58d2bdafdb62b/t/6582fe0a8b00237d573e2731/1703083531077/Atteron.ttf'); } h1 {font-family: 'Atteron';} .sqs-block-button-container a{ font-family: 'Atteron' !important; } Link to comment
melody495 Posted January 4 Share Posted January 4 (edited) Hi @raccan is the above your exact CSS code from Custom CSS? If so, you just need to make 1 correction. You have called your font-family as 'FontTitle', but tried to use it for h1 as 'Atteron'. Update your code to the below. @font-face { font-family: 'Atteron'; src: url('https://static1.squarespace.com/static/643af7a92ed58d2bdafdb62b/t/6582fe0a8b00237d573e2731/1703083531077/Atteron.ttf'); } That should work. Let me know how it goes. If not, I have a step-by-step Beginner's Guide to Custom Font that explains what needs to be done, but also some common problems that people come across. Actually yours is the 1st bullet point under the Top 5 Reasons why Custom Fonts are not working section 🙂 Edited January 8 by melody495 Updated links -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd e: melody@melodylee.tech 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
raccan Posted January 5 Author Share Posted January 5 That worked! thank you so much! Link to comment
melody495 Posted January 5 Share Posted January 5 1 hour ago, raccan said: That worked! thank you so much! You are very welcome 😊 glad it's working for you. If you could give my solution a thumbsup or mark as solution, it will help others find the answer easier. Thanks! -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd e: melody@melodylee.tech 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like 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