-
AuthorPosts
-
August 30, 2014 at 4:49 am #311157
Hi,
It seems I’m having trouble with getting Oswald font to show up in the theme: https://staging.expresswriters.com on FireFox and IE.
My main goal is to import @fontface Oswald Light – since Google doesn’t seem to support this version, all though I’ve been able to call it in like this: font-family:
'Oswald-Light',sans-serif;
it’s still not showing up on Firefox or Internet Explorer.Also, here’s my @fontface:
/* @font-face kit by Fonts2u (http://www.fonts2u.com) */
@font-face {font-family:”Oswald Light”;
src:url(‘https://staging.expresswriters.com/wp-content/fonts/oswald-light.eot’) format(‘eot’),url(‘https://staging.expresswriters.com/wp-content/fonts/oswald-light.woff’) format(‘woff’),url(‘https://staging.expresswriters.com/wp-content/fonts/oswald-light.ttf’) format(‘truetype’),url(‘https://staging.expresswriters.com/wp-content/fonts/oswald-light.svg’) format(‘svg’);font-weight:normal;font-style:normal;}I’m not really sure why this is working. :(
Thanks,
Josh- This topic was modified 10 years, 2 months ago by j1980mac.
September 2, 2014 at 8:01 am #312066Hi Josh!
Which elements are supposed to be set to Oswald Light on your website? i couldn’t note them.
Regards,
JosueSeptember 3, 2014 at 8:15 pm #313084Specifically, the font: “Quality Content” on the home page: : https://staging.expresswriters.com.
As far as that goes, Oswald isn’t showing up period on FireFox and IE.
Thanks,
JoshSeptember 4, 2014 at 12:49 am #313140Hey Josh!
It’s not working neither in Chrome, and its because the font is not getting included, i’d suggest using this plugin to include a custom font-face: https://wordpress.org/plugins/wp-font-face/
Cheers!
JosueSeptember 4, 2014 at 2:07 am #313159Hi Josue,
Enfold should be able to do this out of the box shouldn’t it? It has the option to choose the font. I’m calling it in my CSS, and it’s showing up in chrome on Mac no problem. I do have these fonts on my computer, but regardless, it should show up even without this font CSS plug-in. I even install the font CSS plug-in and installed the fonts inside the “fonts” directory and it still does not work.
I think you guys have my login, can you take a look?
Thanks,
JoshSeptember 4, 2014 at 2:11 am #313160Hey Josh!
Actually no, Enfold can only include additional Google fonts out of the box (as you mentioned, Oswald Light is not a Google Font), i believe you are seeing this font correctly rendering on your Mac because you have it installed there, check it on another computer to discard.
Regards,
JosueSeptember 4, 2014 at 2:29 am #313161Hi Josue,
I understand about Google Fonts. I don’t know why they don’t support Oswald Light.
This plug-in doesn’t seem to be working. It works on chrome and Safari, but doesn’t render on Internet Explorer or Firefox. I have installed all the font packages.
September 4, 2014 at 3:09 am #313169Hi!
It’s working for me on Firefox:
Best regards,
JosueSeptember 4, 2014 at 3:22 am #313170Yes I know :) But not the Light version. So I uninstalled the WP font-face plugin.
September 4, 2014 at 7:12 am #313201Hello,
Unfortunately as this is not a Enfold feature i’m afraid we won’t be able to help you with this :(
Regards,
JosueSeptember 4, 2014 at 3:57 pm #313436Hi Josue,
No big deal. I created a ticket on Google fonts. I really don’t know why they don’t support the lighter version of the font.
I do have another question that’s relative to this: On Safari, the Lato font (body text) is hard to read. Is there some kind of CSS that I can perform that would say: “when on Safari, instead of making all font with 100 weight; make it 300 weight instead?”
Thanks,
JoshSeptember 4, 2014 at 8:08 pm #313564Hey!
When Enfold is seen on Safari the html element will get the a specific class, for example:
.avia-webkit-6, .avia-webkit-7
You can use that to target Safari 6 and 7 only.
Cheers!
JosueSeptember 5, 2014 at 4:44 pm #314108I added this CSS and tried to adjust the font weight, and nothing happened. I have Safari 7.
September 5, 2014 at 5:56 pm #314141Hi!
What code did you try?
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.