google / google/fonts

Google Fonts not working properly on my site

Open
#6,143 2 comments 1 reaction 0 assignees View on GitHub
I API / Website / Platform I Request I Tools / workflow / repo
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

#This issue also works for requesting features.

**Describe the issue**
I used Google Fonts to generate code to embed on my website so that I can use 2 fonts. I pasted exactly that into the header of my site. The fonts show up fine on desktop (perhaps because I have the fonts installed on the desktop), but when I visit the website on my phone which doesn't have those fonts, the fonts don't load.

**To Reproduce**
Went to Google Fonts site, clicked Select next to 2 of them, then copied the code in the sidesheet to my site. Upload site, then visit it on mobile - the fonts don't show. Refreshing and clearing cache did not fix the issue. I would prefer not to share the URL if possible.

**Expected behavior**
I want visitors of my website to be able to see text in the right font regardless of device.

**Additional context**
Android Pixel 7 & Macbook / Firefox

**Screenshots**
If applicable, add screenshots to help explain your problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.