Jump to content

Custom Fonts Not Loading Outside of Editor

Go to solution Solved by Beyondspace,

Recommended Posts

https://bird-flounder-wfzs.squarespace.com
password: Opal240!

Fonts load and appear to function properly inside the editor but regardless of browser they aren't loading when I preview outside of editor.

 

Thanks!

//Typefaces//
@font-face {

  font-family:'TMCMabry-Light';

       src: url('Fonhttps://static1.squarespace.com/static/635a9f3d259a125cc511de4a/t/635aa09838e96c072dc903e5/1666883736481/TMCMabry-Light.otftURL');
}

h1 {font-family:'TMCMabry-Light'}
h2 {font-family:'TMCMabry-Light'}
h3 {font-family:'TMCMabry-Light'}
h4 {font-family:'TMCMabry-Light'}
h5 {font-family:'TMCMabry-Light'}
p {font-family:'TMCMabry-Light'}

 

Link to comment
  • Solution
17 hours ago, Hartzelljs said:

https://bird-flounder-wfzs.squarespace.com
password: Opal240!

Fonts load and appear to function properly inside the editor but regardless of browser they aren't loading when I preview outside of editor.

 

Thanks!

//Typefaces//
@font-face {

  font-family:'TMCMabry-Light';

       src: url('Fonhttps://static1.squarespace.com/static/635a9f3d259a125cc511de4a/t/635aa09838e96c072dc903e5/1666883736481/TMCMabry-Light.otftURL');
}

h1 {font-family:'TMCMabry-Light'}
h2 {font-family:'TMCMabry-Light'}
h3 {font-family:'TMCMabry-Light'}
h4 {font-family:'TMCMabry-Light'}
h5 {font-family:'TMCMabry-Light'}
p {font-family:'TMCMabry-Light'}

 

You should use the following code to set font for entire site

* {
font-family: 'TMCMabry-Light' !important;
}

 

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

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.