Jump to content

Adding New Font over CSS

Recommended Posts

Site URL: http://brittawaechter.com

Hello, 

I would like to add a new font to my website and need to do that over custom CSS.

I used this CODE:

@font-face {

    font-family: 'FontTitle';

       src: url('FontURL');

  }

h1 {font-family: 'FontTitle';}

However when I follow this a new font is added but it is not the font I need. And I even tried it with another font and it stayed the same. Appartently when " dealing with custom code and CSS modifications it is possible that the code added might interfere with the built-in code and fonts of the site, so for that reason I won't be able to troubleshoot the added code or provide a new one." 

This was mentioned by the support yet I am not sure how to solve this.

Could someone please advice?

Thank you, Britta

Link to comment
  • Replies 7
  • Views 441
  • Created
  • Last Reply

What is your actual font url?

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

Hey thanks already for your response.

This is the URL of the font - FontURLhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa0109c23873844cebf5597/1604325532443/Amare.ttfhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa0109c23873844cebf5597/1604325532443/Amare.ttfhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa01177c0d9fd7d2fa6e069/1604325752173/Amare.ttfhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa01177c0d9fd7d2fa6e069/1604325752173/Amare.ttfhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa01177c0d9fd7d2fa6e069/1604325752173/Amare.ttfhttps://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa01177c0d9fd7d2fa6e069/1604325752173/Amare.ttf'

Link to comment
4 hours ago, BrittaWAE said:

And I also tried it with another font and didnt work and this is the code

FontURL https://static1.squarespace.com/static/5da42bbf2526b10b2131e80f/t/5fa059c1c632cd1520a4ca85/1604344257752/Brandon_reg.otf');

This otf font path seems working, but the ttf file above return nothing, have you try to re-upload?

image.thumb.png.a4e13090f8e3bcae8950d724998c9aca.png

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.