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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. 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. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.