- This topic has 5 replies, 3 voices, and was last updated 4 years, 1 month ago by
Tom.
-
AuthorPosts
-
May 22, 2018 at 8:16 am #581787
Lisa
I have followed the instruction of this doc (attached print screens of all stages)
https://docs.generatepress.com/article/adding-custom-font/
the font does not appear in the font list.the page
https://prnt.sc/jl6wxtUploaded fonts
https://prnt.sc/jl6fusFont in css
https://prnt.sc/jl6evgCOde snippet
https://prnt.sc/jl6f4rGeneratePress 2.1.2GP Premium 1.6.2May 22, 2018 at 8:53 am #581835Leo
StaffCustomer SupportHi Lisa,
So the font is working but it’s just not showing up in the list?
Can you make sure to check the bottom of the list (won’t show up alphabetically) or type the font name in search bar?
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 23, 2018 at 11:45 am #582870Lisa
HI Leo
Even when I set the style in css it does not work.
I gave the title a “class” – still font not correct.and not in list anywhere
May 23, 2018 at 8:47 pm #583153Tom
Lead DeveloperLead DeveloperMake sure the URLs within your
@font-face
block are complete (including your domain name). They need to link to the files if you were to place the URL into your address bar.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 23, 2018 at 10:35 pm #583196Lisa
Tom hi
these are the fonts in file manager https://prnt.sc/jl6fus
and this is the code that I found to use…(I dont have woff2)
@font-face {
font-family: ‘Variane-Script’;
src: url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.eot’); /* IE9 Compat Modes */
src: url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.woff’) format(‘woff’), /* Pretty Modern Browsers */
url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘http://MYDOMAIN.COM/wp-content/themes/generatepress_child/Variane-Script.svg#svgFontName’) format(‘svg’); /* Legacy iOS */
}Still not working
May 24, 2018 at 9:45 am #583744Tom
Lead DeveloperLead DeveloperSo when you open the font family dropdown in the Customizer, the font doesn’t exist within the System Fonts area?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.