Tagged: x
-
AuthorPosts
-
November 7, 2016 at 2:55 pm #1247664
Hey guys,
I recently purchased a font package from Myfonts.com and need to get it working in my Xtheme. I’ve tried everything I can think of but nothing seems to be working…
I’ve tried placing the font and other files in my child theme folder while using the @font-face declaration in custom CSS and assigning it to the proper selectors. I’ve also tried altering the child functions.php with code from another forum on the subject but nothing. I am using the Integrity setup – is this something that would have to be altered in there?
MyFonts provided the following instructions in there font kit…
“You should place a reference to this file in the head section of your website’s HTML code. Make sure that the reference appears on all HTML pages of your site.
This will link the webfonts from the Kit to your website. If you uploaded the Kit to the root folder of your site, then you can just copy and paste the code below into your site’s head. If you uploaded the Kit to a subfolder, you’ll need to adjust the path to the font files in the CSS file.”
<!-- /** * @license * MyFonts Webfont Build ID 3304381, 2016-11-05T11:19:06-0400 * * 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: AvenirLTStd-Light by Linotype * URL: http://www.myfonts.com/fonts/linotype/avenir/35-light/ * * Webfont: AvenirLTStd-Black by Linotype * URL: http://www.myfonts.com/fonts/linotype/avenir/95-black/ * * * License: http://www.myfonts.com/viewlicense?type=web&buildid=3304381 * Licensed pageviews: 250,000 * Webfonts copyright: Copyright © 1989, 1995, 2002 Adobe Systems Incorporated. * All Rights Reserved. © 1981, 1995, 2002 Heidelberger Druckmaschinen AG. All * rights reserved. * * © 2016 MyFonts Inc */ --> <link rel="stylesheet" type="text/css" href="MyFontsWebfontsKit.css">
Any help would be much appreciated. Thanks!!
November 7, 2016 at 5:05 pm #1247785Hi there,
Please use the suggestion found here: https://community.theme.co/forums/topic/custom-font-2/#post-142444
Hope this helps.
-
AuthorPosts