@font-face works for me, but no one else.
-
Hello,
I’m working on a site for a friend of mine and she wanted me to use a font the website’s header.
here’s what the header looks like for me:
https://ariellafreinders.co.uk/header.jpgthis is the site:
https://jacquelinemcquade.combut for her and the people I’ve asked to check it just looks like the standard font, and I don’t understand why.
this is the code myfonts.com sent me and I’m using:
@import "//hello.myfonts.net/count/2e32f5";
(at the top of the CSS file)@font-face { font-family: 'JamesPaul'; src: url('/wp-content/fonts/2E3019_0_0.eot'); src: url('/wp-content/fonts/2E3019_0_0.eot?#iefix') format('embedded-opentype'), url('/wp-content/fonts/2E3019_0_0.woff2') format('woff2'), url('/wp-content/fonts/2E3019_0_0.woff') format('woff'), url('/wp-content/fonts/2E3019_0_0.ttf') format("truetype"); } .site-title, .site-title a { font-family: JamesPaul; text-transform: none; font-size: 1.5em; }
I’ve tried moving the font files to the same folder as the CSS file, I’ve tried disabling the font on my own computer cause I heard people say that’s why it could’ve been working for me. But none of those things seemed to make any difference. No one else can see this font apparently.
What am I doing wrong? I’m sorry if this exact question has been asked before, I did search for it, but I didn’t find my exact issue.
- The topic ‘@font-face works for me, but no one else.’ is closed to new replies.