Tagged: custom font, google fonts
-
AuthorPosts
-
September 22, 2013 at 1:46 pm #164789
Hi,
Regarding this thread: https://kriesi.at/support/topic/new-custom-font/?replies=5#post-138757
Alef font is indeed shown, but when I choose it, the website shows Arial font.
Note that I also added this line to the custom CSS:
@import url(https://fonts.googleapis.com/earlyaccess/alefhebrew.css);
Is there something I’m doing wrong?
btw, I also unable to use the Alef font on other areas in the website. I use this line:
font-family: "Alef Hebrew", “Helvetica Neue”, Helvetica, Arial, sans-serif;
September 22, 2013 at 11:01 pm #164903Hi,
Can you post the link to your website please?
Regards,
JosueSeptember 22, 2013 at 11:06 pm #164904September 23, 2013 at 3:46 am #165031Hello!
Please add this on your custom.css or Quick CSS:
body, body p { font-family: "Alef", “Helvetica Neue”, Helvetica, Arial, sans-serif; }
Best regards,
IsmaelSeptember 23, 2013 at 9:53 am #165078Thanks, but I don’t think it’s working:
http://www.valuation.co.il/2118-2/?theme=enfoldSeptember 24, 2013 at 8:46 pm #165822Hello!
The font seems to be loading in on my end but you can see the implementation guide for yourself on the google font page here: http://www.google.com/fonts#UsePlace:use/Collection:Alef
You can also try forcing it if its not showing for you by adding !important to the declaration like this:
body, body p { font-family: 'Alef', Arial, sans-serif !Important; }
Cheers!
DevinSeptember 24, 2013 at 10:25 pm #165859It’s also showing alright in the preview pane under the Styling tab, but it’s not showing in the website, not even after adding the “!important” adding
The current code is:@import url(https://fonts.googleapis.com/css?family=Alef); body, body p { font-family: 'Alef', sans-serif !Important; }
I don’t understand how can it be that it won’t load on any of the browsers and computers I test it on.
September 25, 2013 at 1:02 am #165887Try using this plugin and choose for it to add in the font. Perhaps the font import is just failing for some reason: http://wordpress.org/plugins/wp-google-fonts/
September 25, 2013 at 1:09 am #165890Didn’t work either. Thanks anyway
September 27, 2013 at 9:01 pm #167294Sorry we couldn’t help more. I can’t really explain why that specific font wouldn’t be rendering when google fonts typically have no issue.
-
AuthorPosts
- The topic ‘Adding a custom font’ is closed to new replies.