SaraSiegel Posted December 15, 2020 Share Posted December 15, 2020 I keep getting a syntax error when trying to use a custom font. This is the code i'm using. @fontface {font-family: 'collection'; src: url(https://static1.squarespace.com/static/5f6caa0bdd1229405128822e/t/5fd8e5ea1414602fbea20a30/1608050154535/Collection.otf)} Any ideas? Link to comment
paul2009 Posted December 15, 2020 Share Posted December 15, 2020 Are you adding this to the correct location? It should be added to Design > Custom CSS. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
paul2009 Posted December 15, 2020 Share Posted December 15, 2020 (edited) Ah, you're missing a hyphen. It should be @font-face, not @fontface. Edited December 15, 2020 by paul2009 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. 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