Jump to content

Custom CSS Font not working on Mobile

Recommended Posts

Site URL: https://avocado-salamander-tmrn.squarespace.com/

Hey SS Friends,

I just built a new site. But unfortunately the custom font isn’t appearing on Mobile. I have iPhone 12 Pro iOS 14.8
Here’s the code I’m using:

@font-face {

    font-family: 'Satoshi';

       src: url('FontURLhttps://static1.squarespace.com/static/6150121157e1a418dddb12b9/t/61501397c5e1f5730e80eca0/1632637847267/Satoshi-Regular.otf');

  }

H2 {font-family: 'Satoshi';}
H4 {font-family: 'Satoshi';}
p {font-family: 'Satoshi';}

Link to comment
  • Replies 2
  • Views 981
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 10/10/2021 at 5:26 PM, maraanne said:

Site URL: https://avocado-salamander-tmrn.squarespace.com/

Hey SS Friends,

I just built a new site. But unfortunately the custom font isn’t appearing on Mobile. I have iPhone 12 Pro iOS 14.8
Here’s the code I’m using:

@font-face {

    font-family: 'Satoshi';

       src: url('FontURLhttps://static1.squarespace.com/static/6150121157e1a418dddb12b9/t/61501397c5e1f5730e80eca0/1632637847267/Satoshi-Regular.otf');

  }

H2 {font-family: 'Satoshi';}
H4 {font-family: 'Satoshi';}
p {font-family: 'Satoshi';}

Try adding !important to your setting Custom Css which overwrites the setting font-family before

image.thumb.png.ae49ef3e6d92212e50c48e3d4c72d9ae.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 10/10/2021 at 5:26 PM, maraanne said:

Site URL: https://avocado-salamander-tmrn.squarespace.com/

Hey SS Friends,

I just built a new site. But unfortunately the custom font isn’t appearing on Mobile. I have iPhone 12 Pro iOS 14.8
Here’s the code I’m using:

@font-face {

    font-family: 'Satoshi';

       src: url('FontURLhttps://static1.squarespace.com/static/6150121157e1a418dddb12b9/t/61501397c5e1f5730e80eca0/1632637847267/Satoshi-Regular.otf');

  }

H2 {font-family: 'Satoshi';}
H4 {font-family: 'Satoshi';}
p {font-family: 'Satoshi';}

Use this new code

@font-face {
    font-family: 'Satoshi';
    src: url('https://static1.squarespace.com/static/6150121157e1a418dddb12b9/t/61501397c5e1f5730e80eca0/1632637847267/Satoshi-Regular.otf');
}

h2, h4, p {
    font-family: 'Satoshi' !important;
}

 

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.