Tagged: custom font, Firefox
-
AuthorPosts
-
December 4, 2014 at 6:03 am #362720
Hello,
I’ve installed a custom font and applied it to all headers and the menu. It looks great on every browser except Firefox. The front page looks fine, but the other pages revert to some other font. I’m running version 34.0. Screen shots attached. The second one shows the custom font, the first shows the replacement that is happening. Thanks for the help.
December 4, 2014 at 6:24 pm #363088Hi 1lizcollins!
It’s not happening on your homepage but for all of your other pages your getting a 404 not found error on this file.
/MyFontsWebfontsKit.css
How are you adding it?
Best regards,
ElliottDecember 6, 2014 at 3:42 am #364006I added that file (MyFontsWebfontsKit.css) to the root folder, and the fonts themselves are in a folder called “webfonts” which is also in the root folder. Then I added this code to the header.php file, per the instructions from the website where I downloaded the font. Oddly, I see everything displaying properly in Safari & Chrome, only see the issue in Firefox.
<!-- /** * @license * MyFonts Webfont Build ID 2931818, 2014-12-01T12:14:45-0500 * * The fonts listed in this notice are subject to the End User License * Agreement(s) entered into by the website owner. All other parties are * explicitly restricted from using the Licensed Webfonts(s). * * You may obtain a valid license at the URLs below. * * Webfont: WorstveldSling by Typotheticals * URL: http://www.myfonts.com/fonts/typotheticals/worstveld-sling/worstveld-sling/ * * Webfont: WorstveldSlingOblique by Typotheticals * URL: http://www.myfonts.com/fonts/typotheticals/worstveld-sling/oblique/ * * * License: http://www.myfonts.com/viewlicense?type=web&buildid=2931818 * Licensed pageviews: Unlimited * Webfonts copyright: Copyright (c) Graham Meade, 2003. All rights reserved. * * © 2014 MyFonts Inc */ --> <link rel="stylesheet" type="text/css" href="MyFontsWebfontsKit.css"> <meta charset="<?php bloginfo( 'charset' ); ?>" />
December 7, 2014 at 6:57 pm #364333Hi!
Try using an absolute path to the file to see if the 404 error goes away.
http://www.yoursite.com/MyFontsWebfontsKit.css
Regards,
ElliottDecember 13, 2014 at 6:42 am #367629Yes! That did it. Thank you.
-
AuthorPosts
- The topic ‘Custom font displays inconsistently’ is closed to new replies.