Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

google fonts browser compatibility

Featured Replies

Hey guys,

 

so I am finishing a website and I am doing the final corrections. One thing that bothers me is the font..

I've got an imported google font.. in Chrome it looks fine, but in Firefox it's bs.

2ai0x82.jpg

2hylc9j.jpg

 

Why is it, that ther's such a big difference? How can I make the site look the way I intend, acoss all the browsers? Do I need to keep changing fonts until I find one that looks good in other browsers too ?

 

Thanks

 

Font display can vary a lot across different browsers, operating systems, screen resolutions and so on.

 

It does look like Firefox is not picking up the font-family declaration, it could be something in your CSS that's wrong so suggest you check that first.

I've had some very annoying issues with firefox and fonts. Some fonts firefox just doesn't seem to like for some reason.

  • Author

Ok, here's the font's CSS:

 

@import url(http://fonts.googleapis.com/css?family=Open+Sans:700,400,300);

font-family: 'Open Sans Light', sans-serif;
 

I'm not sure - but I wonder whether you should not have the word "Light" but should maybe use font-weight: 300.

 

I am typing this hesitantly as I may be way off.

 

I don't know why it would work in Chrome though ... hmmm...

Edited by Jane B

I'm not sure - but I wonder whether you should not have the word "Light" but should maybe use font-weight: 300.

 

I am typing this hesitantly as I may be way off.

 

I don't know why it would work in Chrome though ... hmmm...

 

Your are very right on this, I'd be tempted to go the extra step and declare the font-family as 'Open Sans', sans-serif; then have a separate declaration for font-weight on another line. This seems to be more reliable with mobile browsers too.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.