1352 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
  • Has sold $250,000+ on Envato Market
+6 more
fuelthemes says

Have you ever run into problems while using multiple weights of the same font?

For some reason, my friend cannot view heading tags with custom web fonts when they have different font-weights applied. Happening on Chrome on Windows, but only for some pcs, not all.

1483 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
OriginalEXE says

Hmm, did you include those weights in the Google webfont call?

326 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 1+ members
  • Has collected 100+ items on Envato Market
  • Located in Europe
+1 more
-bianca- says

Does this happen with a specific font type? I know that some of them suffer rendering issues:

1352 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
  • Has sold $250,000+ on Envato Market
+6 more
fuelthemes says

@OriginalEXE: Yes, I did and using various methods.

@bianca: Its happening with Oswald font-family, but its not really a buggy rendering issue. Its simply not working.

954 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Won a Most Wanted contest
+3 more
aleluja says

It the cache clear on those pcs?

326 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 1+ members
  • Has collected 100+ items on Envato Market
  • Located in Europe
+1 more
-bianca- says
Is this font type also installed on the computer as well? I have not suffered from this specific issue but this may be worth the try: http://stackoverflow.com/questions/12129355/google-webfont-conflict-with-local-font
632 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
UBLThemes says

Have you tried implementing them individually?

For instance my latest theme does each one individually like this:

wp_enqueue_style( 'googlefonts-sanpro', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro" );
    wp_enqueue_style( 'googlefonts-sanpro2', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:400" );
    wp_enqueue_style( 'googlefonts-sanpro3', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:400italic" );
    wp_enqueue_style( 'googlefonts-sanpro4', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:600" );
    wp_enqueue_style( 'googlefonts-sanpro5', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:700" );

We found if you did not do it this way, sometimes for some unknown reason they did not work.

1352 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
  • Has sold $250,000+ on Envato Market
+6 more
fuelthemes says

Have you tried implementing them individually?

For instance my latest theme does each one individually like this:

wp_enqueue_style( 'googlefonts-sanpro', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro" );
    wp_enqueue_style( 'googlefonts-sanpro2', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:400" );
    wp_enqueue_style( 'googlefonts-sanpro3', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:400italic" );
    wp_enqueue_style( 'googlefonts-sanpro4', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:600" );
    wp_enqueue_style( 'googlefonts-sanpro5', "$protocol://fonts.googleapis.com/css?family=Source+Sans+Pro:700" );
We found if you did not do it this way, sometimes for some unknown reason they did not work.

That’s interesting, never seen anyone do it like that.

by
by
by
by
by
by