Jump to content

Local font not displaying in safari or mobile

Recommended Posts

  • Replies 2
  • Views 284
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Another question! The anchor links I'm currently using in my navigation bar (which is sticky) have the user flash back up to the top of the screen before taking them to their desired page location. Is there a way to avoid this "resetting" with CSS or code injection? Please let me know and thanks all for any help you can offer! 

Link to comment

Hi. Your code is invalid

Quote

@font-face {
    font-family: 'FontTitle';
    src: url('FontURL')
}

FontURL is Real Font FIle URL, not Text

It should be something like this

@font-face {
    font-family: 'Gotham-Black';
    src: url('https://abc.xyz/s/gotham-black.otf');
}

(Just a random url)

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.