Jump to content

Custom Fonts Not Showing on Mobile Device

Recommended Posts

Site URL: https://sonce.squarespace.com/

Can't seem to figure out why my custom fonts aren't showing up on my mobile device. In mobile view and desktop, the font populates correctly, but when pulling up the mobile staging site, the font doesn't work and I lose some of the glyphs as well. Below is the CSS I'm using:

 

/*Font Face********/

  @font-face {
    font-family: '';
    src: url('') format('otf'),
         url('') format('woff');
    }
  @font-face {
    font-family: '';
    src: url('') format('otf'),
         url('') format('woff');
    }

 

Any help would be greatly appreciated. Thanks!

Edited by tiffanyapril
Link to comment
  • tiffanyapril changed the title to Custom Fonts Not Showing on Mobile Device
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

the code is incorrect. You need to enter font name & font file url, something like this

@font-face {
	font-family: 'abc';
    src: url('paste font file otf fomart url here') format('otf'),
         url('paste woff format font file url here') format('woff');
}

 

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
1 hour ago, tuanphan said:

the code is incorrect. You need to enter font name & font file url, something like this


@font-face {
	font-family: 'abc';
    src: url('paste font file otf fomart url here') format('otf'),
         url('paste woff format font file url here') format('woff');
}

 

Hey Tuan,

Yes I've added the font name and URL - I just didn't past it here. However, it's still not showing up on my mobile phone. Any reason?

For example:

@font-face {
    font-family: FONT NAME;
    src: url('FONT NAME.OTF') format('otf'),
         url(FONT NAME.WOFF) format('woff');
    }
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.