Jump to content

Custom Fonts on Cover Page – Squarespace 7.0

Recommended Posts

Hello, 

I am trying to apply custom fonts to my cover page. I was successfully able to do so on other pages, but not on the cover page. 

On my Custom CSS/Design/ window, my code looks like this:

@font-face {   
font-family: 'Futura-Classic';   
src: url(https://static1.squarespace.com/static/56998e823b0be35eb44d5787/t/60cb9973945558096dc88cf7/1623955827203/FutureClassic.otf);
  font-weight: normal;
  font-style: normal;
}
h1 {
font-family: 'Futura-Classic';}
h2 {
font-family: 'Futura-Classic';}
h3 {
font-family: 'Futura-Classic';}
.BlogItem-title {
font-family: 'Futura-Classic';}
.header-title-text {
font-family:'Futura-Classic';
font-size: 80px !important;}
.logo.site-title a {
font-family: 'Futura-Classic';}
.logo-subtitle {
font-family: 'Futura-Classic';}
.header-nav--primary .Header-nav-item { 
font-family: 'Futura-Classic';}
.header-nav--secondary .Header-nav-item {
font-family: 'Futura-Classic';}

 

On the Cover Page/ Advanced/ Code Injection window, it looks like this:

<style>
  @font-face {font-family: 'Futura-Classic';       
src:url('https://static1.squarespace.com/static/56998e823b0be35eb44d5787/t/60cb9973945558096dc88cf7/1623955827203/FutureClassic.otf') format(opentype);  
  }
  * {
      font-family: 'Futura-Classic' !important;
  }
</style>

 

Please help? I'm totally new to CSS.

 

Thanks so much,

 

 

Link to comment
  • Replies 3
  • Views 1k
  • Created
  • Last Reply

Hi. Add this new code to Cover Page Header. You missing format type

<style>
  @font-face {
    font-family: 'Futura-Classic';       
src:url('https://static1.squarespace.com/static/56998e823b0be35eb44d5787/t/60cb9973945558096dc88cf7/1623955827203/FutureClassic.otf');  
  }
  * {
      font-family: 'Futura-Classic' !important;
  }
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.