Jump to content

I'm having trouble with custom fonts

Recommended Posts

Site URL: https://www.educationisdead.net

Hi! I'm a Squarespace newbie.

I downloaded a custom font and put it in the CSS, but it's not displaying on the website 🤷‍♀️

Here's the code I used:

@font-face {   
font-family: 'morion-regular';   
src: url(URL.ttf/.otfhttps://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec309f3a1af450ffaf442c/1642868895107/Morion-Regular.otf), url(URL.woffhttps://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec308888d1ca3d99cd75f0/1642868872440/morion-regular-webfont.woff), url(URL.woff2https://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec309027a25d6ae34dd3d4/1642868880295/morion-regular-webfont.woff2);}
h1 {
font-family: 'morion-regular';}

Link to comment
  • Replies 1
  • Views 286
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 1/22/2022 at 11:52 PM, melissa90 said:

Site URL: https://www.educationisdead.net

Hi! I'm a Squarespace newbie.

I downloaded a custom font and put it in the CSS, but it's not displaying on the website 🤷‍♀️

Here's the code I used:

@font-face {   
font-family: 'morion-regular';   
src: url(URL.ttf/.otfhttps://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec309f3a1af450ffaf442c/1642868895107/Morion-Regular.otf), url(URL.woffhttps://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec308888d1ca3d99cd75f0/1642868872440/morion-regular-webfont.woff), url(URL.woff2https://static1.squarespace.com/static/616196d6d6b5a65d83395b47/t/61ec309027a25d6ae34dd3d4/1642868880295/morion-regular-webfont.woff2);}
h1 {
font-family: 'morion-regular';}

Try

h1 {
  font-family: 'morion-regular' !important;
}

Let me know how it works

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🚀 Learn how to rank new pages on Google in 48 hours!

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.