Jump to content

CSS Font Change, not working

Recommended Posts

Site URL: https://www.sbdsdanceandcheer.com.au/

Hey all, is there any reason why this code wouldn't be working to change the fonts on my site. https://www.sbdsdanceandcheer.com.au/ password sbds

 

@font-face { 
  font-family: ‘conthrax’; 
  src: url(https://static1.squarespace.com/static/60795feff0e60e1a26ba2e0a/t/60c1f200088a0a33dcf3ec23/1623323137703/conthrax-sb.ttf); 
}

h1 {font-family: 'conthrax';}
h2 {font-family: 'conthrax';}
h3 {font-family: 'conthrax';}
h4 {font-family: 'conthrax';}

 

.header-nav *, nav.header-menu-nav-list * {
    font-family: conthrax;
}

Link to comment
  • Replies 2
  • Views 361
  • Created
  • Last Reply

Remove all code in Custom CSS & add new code

@font-face {
    font-family: 'conthrax';
    src: url(https://static1.squarespace.com/static/60795feff0e60e1a26ba2e0a/t/60c1f200088a0a33dcf3ec23/1623323137703/conthrax-sb.ttf)
}

h1, h2, h3, h4, .header-nav *,nav.header-menu-nav-list *  {
    font-family: 'conthrax' !important;
}

 

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
On 6/24/2021 at 7:35 PM, tuanphan said:

Remove all code in Custom CSS & add new code

@font-face {
    font-family: 'conthrax';
    src: url(https://static1.squarespace.com/static/60795feff0e60e1a26ba2e0a/t/60c1f200088a0a33dcf3ec23/1623323137703/conthrax-sb.ttf)
}

h1, h2, h3, h4, .header-nav *,nav.header-menu-nav-list *  {
    font-family: 'conthrax' !important;
}

 

Thank you so much.

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.