nawilkes Posted September 16 Share Posted September 16 Hi All, I've installed a custom font per these instructions, via this code: @font-face { font-family: ‘TrendSansOne’; src: url('https://static1.squarespace.com/static/66d86ed977996d586cb2bfee/t/66e7319d83a96a7365192fc5/1726427549678/TrendSansOne.woff2') format('woff2'); } h1, h2, h3, h4 { font-family: ’TrendSansOne’; } However, the font is not showing on the website. Can anyone tell me what I'm getting wrong? URL: https://ladybug-rose-6wt4.squarespace.com/ Password: PhilipIsTheBest! Thanks, Nick Link to comment
Lesum Posted September 16 Share Posted September 16 @nawilkes Hi! The issue is with the single quotation marks used around the font name. To fix it, replace the curly quotes with standard straight quotes ('). Here's the corrected version: @font-face { font-family: 'TrendSansOne'; src: url('https://static1.squarespace.com/static/66d86ed977996d586cb2bfee/t/66e7319d83a96a7365192fc5/1726427549678/TrendSansOne.woff2'); } h1,h2,h3,h4 { font-family: 'TrendSansOne'; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Solution nawilkes Posted September 16 Author Solution Share Posted September 16 Thanks so much! I didn't know there was a difference... I only have one "single quotes" button on my keyboard. That's confusing. I really appreciate the help! 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