Jump to content

Custom font doesn't show in other browsers

Recommended Posts

Site URL: https://hrmoovs.squarespace.com

I added a custom font (Campton) to my website but when I view the website in a different browser or on my phone the font is changed. 
 

The website password is: hrmoovs

This is the code: 

@font-face {

    font-family: 'Campton-Medium';

       src: url('FontURLhttps://static1.squarespace.com/static/6073041b34a99572c82020ba/t/60755b23b9f4ec5efadb0912/1618303779397/Campton-Medium.ttf');
  }

h1 {font-family: 'Campton-Medium';}
h2 {font-family: 'Campton-Medium';}
h3 {font-family: 'Campton-Medium';}
p {font-family: 'Campton-Medium';}

Link to comment
  • Replies 3
  • Views 526
  • Created
  • Last Reply
@font-face {
    font-family: 'Campton-Medium';
    src: url('https://static1.squarespace.com/static/6073041b34a99572c82020ba/t/60755b23b9f4ec5efadb0912/1618303779397/Campton-Medium.ttf');
  }

h1, h2, h3, p {font-family: 'Campton-Medium' !important;}

this code is incorrect, use new code

 

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 4/15/2021 at 5:47 PM, Chantalle said:

Thanks! Working now 🙂

@tuanphan Could you maybe also help with the image gallery I used for the logo's? It keeps making it bigger, when I change it to the minimal high it's ok but as soon as I save the website it makes it higher again. 

Add to Design > Custom CSS > Then save & reload your site

/* Gallery */
.gallery-reel {
    height: 40vh !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

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.