Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

I'm having trouble with custom fonts


melissa90

Question

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
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
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

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, 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...