1471 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 6 years
  • Has sold $250,000+ on Envato Market
+5 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.

1511 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
+2 more
OriginalEXE says

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

395 posts
  • Sells items exclusively on Envato Market
  • Has collected 100+ items on Envato Market
  • Has referred 1+ members
  • Helped protect Envato Market against copyright violations
+2 more
-bianca- says

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

1471 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 6 years
  • Has sold $250,000+ on Envato Market
+5 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?

395 posts
  • Sells items exclusively on Envato Market
  • Has collected 100+ items on Envato Market
  • Has referred 1+ members
  • Helped protect Envato Market against copyright violations
+2 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
653 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.

1471 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 6 years
  • Has sold $250,000+ on Envato Market
+5 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by