Jump to content

Custom font not showing on mobile

Go to solution Solved by tuanphan,

Recommended Posts

Hi All,

The website: https://moncton.squarespace.com/

I'm currently in the process of adding in a custom font for my headings 1-5 with CSS. On desktop, the fonts show up just fine, no matter what browser. However when I view the website on my phone, the font doesn't show up at all.

Here is the code:

@font-face {
  font-family: 'Perfectly Nineties'; 
  src: url(‘https://static1.squarespace.com/static/66e6ffe01f00cd60f09e70a6/t/66ec4440e01e6d0cfbcca613/1726760000796/perfectlynineties-regular-webfont.woff’) format('woff');
}

h1, h2, h3, h4, h5{
  font-family: 'Perfectly Nineties', serif !important; 
}

 

Thanks for any help:)

Link to comment
  • Solution

Use this code

@font-face {
  font-family: 'Perfectly Nineties'; 
  src: url('https://static1.squarespace.com/static/66e6ffe01f00cd60f09e70a6/t/66ec4440e01e6d0cfbcca613/1726760000796/perfectlynineties-regular-webfont.woff');
}

h1, h2, h3, h4, h5{
  font-family: 'Perfectly Nineties', serif !important; 
}

image.thumb.png.acd19180089721a8247882a66bd4b745.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.