-
AuthorPosts
-
July 16, 2019 at 4:00 pm #1119182
Hi,
I’ve uploaded a zip with a font I want to use on every level on my website (neosans.ttf). The upload seems to work. When I chose this font in “General Style / Fonts” it does show in the preview. But when I apply this, it doesn’t appear on my website (instead, there’s another basic font like arial).Thanks a lot for your help
best regards
July 17, 2019 at 5:42 am #1119392Hey jeuxdevilains,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardJuly 17, 2019 at 9:12 am #1119461This reply has been marked as private.July 17, 2019 at 9:14 am #1119465This reply has been marked as private.July 18, 2019 at 8:18 am #1119833Hi,
Looks like you’ve uploaded a non-Google font, Neo Sans. You can only upload Google fonts to the Custom Font Manager.
// https://fonts.google.com/?query=neo+sans
You have to use the @font-face rule.
// https://css-tricks.com/snippets/css/using-font-face/
Best regards,
IsmaelJuly 18, 2019 at 10:07 am #1119861Hi, thank you for your response !
Could you please develop a little bit because i tried the @font-face rule but it did not work :
I added the rule in the Enfold child / general style menu / quick CSS and entered the src where my font is but nothing happened….Do you know how i can do it please ?
thanks a lot
best regards
RémyJuly 18, 2019 at 8:37 pm #1119999Hi Rémy,
Best regards,
VictoriaJuly 19, 2019 at 9:15 am #1120106Hi Victoria,
I use to have the plugin “Use any font” but it is not working anymore, that’s why i am trying to find another way to display neosans. It is not neo sans that is applied on your screenshot. I disabled caching but coulnd’t fin any “minification”.
Thanks
July 22, 2019 at 10:19 am #1120783Hi,
Where did you put the font files? This is the font face snippet.
@font-face { font-family: 'MyWebFont'; src: url('webfont.eot'); /* IE9 Compat Modes */ src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('webfont.woff2') format('woff2'), /* Super Modern Browsers */ url('webfont.woff') format('woff'), /* Pretty Modern Browsers */ url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ }
Change the font-family name and replace “webfont.format” with the path where the font files are located.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.