Luiza Posted December 31, 2023 Share Posted December 31, 2023 I'm trying to add a custom font with an otf file. I added the code below and the font in the preview changes but not to the style I uploaded but to a random one. Any advice? Total newbie and really appreciate the help. Thanks! @font-face { font-family: ‘higuen’; src: url(https://static1.squarespace.com/static/658f4aab85f1351316c41071/t/6590f373f8973a391660bb05/1703998323500/Higuen+Serif.otf); } h1, h2, h3, h4 {font-family: 'higuen' !important; } Link to comment
tuanphan Posted January 1 Share Posted January 1 You have an incorrect symbol (top arrows) melody495 1 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
melody495 Posted January 1 Share Posted January 1 10 hours ago, tuanphan said: You have an incorrect symbol (top arrows) Good spot! 😃 -------- > 👆 <---------- 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
Luiza Posted January 5 Author Share Posted January 5 On 1/1/2024 at 9:31 AM, tuanphan said: You have an incorrect symbol (top arrows) thanks for the reply. you mean it is an issue that they don't match? I double-checked and made sure they are the same and now it looks like this but it still doesn't seem to work Link to comment
AbbyC Posted January 5 Share Posted January 5 Hi Luiza! Try enclosing the url in ' ' and adding format ('otf') at the end. src: url('https://.....') format('otf'); Link to comment
tuanphan Posted January 9 Share Posted January 9 On 1/6/2024 at 5:15 AM, Luiza said: thanks for the reply. you mean it is an issue that they don't match? I double-checked and made sure they are the same and now it looks like this but it still doesn't seem to work Can you share site url? I can check again easier 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