As I’ve understood what they’re asking me to do is slightly different.
This is what they want “in the head section of [my] website’s HTML code”:
[ Moderator note: please wrap code in backticks or use the code button. ]
<!--
/**
* @license
* MyFonts Webfont Build ID 2704487, 2013-12-09T11:07:20-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: Giro Light by Tipos Pereira
* URL: https://www.myfonts.com/fonts/tipos-pereira/giro/light/
*
* Webfont: Giro Outline by Tipos Pereira
* URL: https://www.myfonts.com/fonts/tipos-pereira/giro/outline/
*
*
* License: https://www.myfonts.com/viewlicense?type=web&buildid=2704487
* Licensed pageviews: Unlimited
* Webfonts copyright: This work is dedicated to the Public Domain
*
* ? 2013 MyFonts Inc
*/
-->
<link rel="stylesheet" type="text/css" href="MyFontsWebfontsKit.css">
And this links to the "MyFontsWebfontsKit.css" file I've placed in the root directory, as they asked me.
(But where should I paste this?!)
The "MyFontsWebfontsKit.css" contains the following:
/**
* @license
* MyFonts Webfont Build ID 2704487, 2013-12-09T11:07:20-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: Giro Light by Tipos Pereira
* URL: https://www.myfonts.com/fonts/tipos-pereira/giro/light/
*
* Webfont: Giro Outline by Tipos Pereira
* URL: https://www.myfonts.com/fonts/tipos-pereira/giro/outline/
*
*
* License: https://www.myfonts.com/viewlicense?type=web&buildid=2704487
* Licensed pageviews: Unlimited
* Webfonts copyright: This work is dedicated to the Public Domain
*
* ? 2013 MyFonts Inc
*/
@font-face {font-family: 'Giro-Light';src: url('webfonts/294467_0_0.eot');src: url('webfonts/294467_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/294467_0_0.woff') format('woff'),url('webfonts/294467_0_0.ttf') format('truetype');}
@font-face {font-family: 'Giro-Outline';src: url('webfonts/294467_1_0.eot');src: url('webfonts/294467_1_0.eot?#iefix') format('embedded-opentype'),url('webfonts/294467_1_0.woff') format('woff'),url('webfonts/294467_1_0.ttf') format('truetype');}
So, if I’m not too off track, the first code will redirect (something) to this css file which will in turn indicate where these fonts are so they can be used in the website.
Then they tell me I can assign the webfont (font-family) to tags, classes, etc. And I should do this by editing my css wherever I should need it.
So, if I’m using a child-theme (generated with the plugin) and I only have the style.css, should I make a copy of all the other files from the parent theme and have them in my child version so I can edit them? And if I’m editing the style.css, should I write above or below this line: @import url(“../customizr/style.css”); or should I delete it and copy the whole parent theme style.css and then edit that?
As you can see, I’m lost because it’s all pretty confusing for me. Sorry for all the questions. If it’s too much, just let me know and I’ll just leave it.
thanks
daniel