Isabelle_Davis Posted April 2 Share Posted April 2 Hi there! I am trying to upload a custom font, this is the code I am imputing https://static1.squarespace.com/static/65e75e3dd0d1af2b0a1c2127/t/660c52e317014a39650a9510/1712083684036/ZineFontSVG.otfhttps://static1.squarespace.com/static/65e75e3dd0d1af2b0a1c2127/t/660c52e317014a39650a9510/1712083684036/ZineFontSVG.otf but I keep getting this error message Syntax Error on line 1 Link to comment
Jia Posted April 2 Share Posted April 2 51 minutes ago, Isabelle_Davis said: Hi there! I am trying to upload a custom font, this is the code I am imputing https://static1.squarespace.com/static/65e75e3dd0d1af2b0a1c2127/t/660c52e317014a39650a9510/1712083684036/ZineFontSVG.otfhttps://static1.squarespace.com/static/65e75e3dd0d1af2b0a1c2127/t/660c52e317014a39650a9510/1712083684036/ZineFontSVG.otf but I keep getting this error message Syntax Error on line 1 Hi, you can't upload a custom font just by adding the link to the file, there's a proper format to follow. Add this code to custom css: @font-face { font-family: 'ZineFont'; src: url('/static/65e75e3dd0d1af2b0a1c2127/t/660c52e317014a39650a9510/1712083684036/ZineFontSVG.otf') format('otf'); } Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified. www.sevenstars.studio www.instagram.com/sevenstars.studio 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