Jump to content

Custom Fonts Not Loading Outside of Editor

Go to solution Solved by Beyondspace,

Recommended Posts

Posted

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'}

 

  • Solution
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
On 11/5/2022 at 5:33 AM, bangank36 said:

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

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

 

Thank you very much! That's all it took, much appreciated!

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.