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. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
paul2009 Posted December 15, 2020 Share Posted December 15, 2020 Ah, you're missing a hyphen. It should be @font-face, not @fontface. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.