Jump to content

Google Fonts doesn't load on Website

Recommended Posts

Site URL: https://www.stimtlc.it/

Hello everybody,

I entered Google Fonts on this website and, until a few hours ago, they were displayed correctly and perfectly.

For an hour now it's as if they were down, and the CSS code no longer worked.
I had also inserted a Custom Header which now opens as soon as I enter the page and shows the older (basic) menu in Soluzioni.


I have absolutely not touched the CSS code, it is as if this all happened suddenly.

Can you help me?

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Just now, C_D said:

Site URL: https://www.stimtlc.it/

Hello everybody,

I entered Google Fonts on this website and, until a few hours ago, they were displayed correctly and perfectly.

For an hour now it's as if they were down, and the CSS code no longer worked.
I had also inserted a Custom Header which now opens as soon as I enter the page and shows the older (basic) menu in Soluzioni.


I have absolutely not touched the CSS code, it is as if this all happened suddenly.

Can you help me?

2119803127_Schermata2021-06-24alle17_25_20.thumb.png.38c754035c583e2fc4d940066b291d25.png462329734_Schermata2021-06-24alle17_25_38.thumb.png.32fd37c13116b22dd69d8c91dd186bb0.png

Link to comment

This is the code I'm using. And when I'm editing in Squarespace I can see the right font and they modify according to what I'm writing onto code.

.form-wrapper .field-list .title {
 font-family: 'DMSans-Medium';
 font-size: 10px;
 border-top-style: hidden;
 border-right-style: hidden;
 border-left-style: hidden;
}

@font-face {
    font-family: 'DMSans-Bold';
       src: url('https://static1.squarespace.com/static/6059e93a57458154a76c3b28/t/60d4a506aeb5c46a445ba0bf/1624548614162/DMSans-Bold.ttf');
  }

@font-face {
    font-family: 'DMSans-Medium';
       src: url('https://static1.squarespace.com/static/6059e93a57458154a76c3b28/t/60d4a517715f6e6f18c84b8e/1624548631811/DMSans-Medium.ttf');
  }

@font-face {
    font-family: 'DMSans-Regular';
       src: url('https://static1.squarespace.com/static/6059e93a57458154a76c3b28/t/60d4a52496917078223888a6/1624548644874/DMSans-Regular.ttf');
  }

h1 {font-family: 'DMSans-Medium'; font-size:50px; line-height: 1;}
h2 {font-family: 'DMSans-Medium'; font-size:42px; line-height: 1.2;}
h3 {font-family: 'DMSans-Medium'; font-size:32px; line-height: 1.2;}
h4 {font-family: 'DMSans-Medium'; font-size:20px; line-height: 1.2;
}

sqsrte-large {font-family: 'DMSans-Medium'; font-size:20px}
p {font-family: 'DMSans-Regular';
  font-size:16px;
  line-height: 1.8;
  opacity: 0.8;
}

@media screen and (max-width: 960px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 20px;
  }
   h4 {
    font-size: 16px;
  }
  p {
    font-size: 16px;
  }
  a {
  font-family: 'DMSans-Regular';
    font-size: 16px;
    line-height: 1.2;
  }
}

Link to comment
5 hours ago, tuanphan said:

Hi. It looks like you solved this?

Unfortunately the problem is still there.

1880653842_Schermata2021-06-28alle10_46_04.thumb.png.8a42fedcc9d5518bc71072e47d17c7a8.pngAs you can see there is a "Times New Roman" like font that it isn't supposed to be there!

I can't understand why this happen. Please help me!

 

 

 

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

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.