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
  • 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.