A
A
Antig2014-03-19 19:33:59
Google Chrome
Antig, 2014-03-19 19:33:59

Why is the text on the site not loading in Google Chrome (Google Web Fonts)?

Site stomatologclub.ru
Fonts from Google Web Fonts are connected
Browser: Google Chrome (otherwise it's fine).
You go to the site - everything is loaded. You refresh the page (press F5 or the refresh icon) - the text is not loaded, only the site structure remains. And if you click in the address bar and then Enter, then everything loads normally.
The problem is in Chrome, in others it is not noticed. Another friend told me that the included addblock creates the same situation.
How to fix the problem?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Antig, 2014-04-09
@Antig

That's it, the problem is fixed. Chrome has been updated. Version 34.0.1847.116m

E
Eugene Obrezkov, 2014-03-19
@ghaiklor

Because the fonts did not have time to load. I may not have looked, but I don’t see fonts connected via link href from Google anywhere. I also don't see a WebFont connection. If you use WebFont, then something like this:

WebFont({
    google: ['Press+Start+2P'],
    active: function() {
        //your code on font loaded
    }
});

But in your case just use link href on Google Font.

A
Antig, 2014-03-20
@Antig

@ghaiklor , thanks for the reply.

WebFont({
    google: ['Press+Start+2P'],
    active: function() {
        //your code on font loaded
    }
});

So it was used, but the problem was different - the font was jumping, and visually it was noticeable.
link href was used like this, but the fonts weren't loaded. After the file was put on your server, the problem still persists.

C
c0mmandir, 2014-03-22
@c0mmandir

Same problem. Fonts are not displayed. I go to "View element code" and immediately everything is displayed. Chrome glitch?

M
Maria Devyatykh, 2014-04-03
@Murelain

Faced the same problem. Everyone has her. Basically, who has version 33.0.1750.154.
There 's a whole discussion here. A universal solution was not found, but there is a suggestion that worked for some
Option 1. Disable javascript scripts in turn and on the one on which everything will work - disable forever
Option 2. Insert a fragment

body
{
    -webkit-animation-duration: 0.1s;
  -webkit-animation-name: fontfix;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
  -webkit-animation-delay: 0.1s;
}

@-webkit-keyframes fontfix{
  from{ 	opacity: 1; }
  to{	opacity: 1; }
}

For some it worked, for some it didn't. I do not have. So we are waiting for more solutions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question