Tagged: custom fonts
-
AuthorPosts
-
July 27, 2018 at 6:09 pm #990804
Hi, whenever i try to upload a font with the Custom Font Manager (Import/Export) i get a general font name:
Font: MACOSX ( font-family: -macosx )
normal: 400And the font doesn’t work.
I’ve tried with my fonts (with ttf and woff generated by FontSquirel) and with fonts downloaded from Google Fonts (ttf).https://s33.postimg.cc/9m8fttn2n/Screen_Shot_2018-07-27_at_17.07.15.png
https://s33.postimg.cc/aoimcddlr/Screen_Shot_2018-07-27_at_17.07.37.pngAny idea?
July 27, 2018 at 6:33 pm #990813Hey helderluis,
Have you referred and followed the directions in our doc:
Best regards,
Jordan ShannonJuly 27, 2018 at 6:51 pm #990816YES! Uploaded zip archives with nothing more than a font file (ttf) in it.
July 27, 2018 at 7:17 pm #990820Hi,
You cculd upload the font directly to the theme root and just point to it directly there as opposed to going through the WordPress direct upload method.
Best regards,
Jordan ShannonJuly 27, 2018 at 8:02 pm #990828Do you mean through CSS?
I just upload a font here and it doesn’t show up in the font menu:
/helderluis.com/wp-content/themes/enfold/Preahvihear.ttf
/helderluis.com/wp-content/themes/helderluis/Preahvihear.ttfJuly 27, 2018 at 8:08 pm #990829Hi,
Yes via css, or through linking to the font in your header?
Best regards,
Jordan ShannonJuly 27, 2018 at 8:19 pm #990832OK, in that case can you give me the best css code for targeting the headers and body?
I once got it in some post here in this support forum.July 30, 2018 at 5:25 am #991378Hi,
The font is not from Google. Please note that you can only upload Google Fonts when using the Custom Font Manager and nothing else. Use the @font-face rule for different fonts.
// https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
