-
AuthorPosts
-
May 7, 2016 at 7:10 pm #628664
Hello,
i want to use my own BITSTREAM-Font (TrueType) in WordPress-Template. There are two files: benguian.ttf and benguiab.ttf.
In the Quick-CSS i have place the following script:
@font-face {
font-family: BookBenguiatITC;
src: url(‘http://www.domain.name/wp-includes/fonts/benguian.ttf’) Format(‘truetype’);
}
a {font-family: BookBenguiatITC;}It doesn’t work. Can anyone help me with the correct script? Many thanks.
Greeting DetlevMay 7, 2016 at 10:42 pm #628713Hey klassik-boote!
That is not the proper way to call a web font and include it.
Please do look here for more info and file formats:Please do let us know if that helps you as much as needed
Regards,
BasilisMay 8, 2016 at 7:50 am #628823Hi Basilis,
thx for your help. Now i have Change the theme to Enfold Child. Then i have insert in style.css the following:<style type=”text/CSS”>
@import url(“https://fast.fonts.net/lt/1.css?apiType=css&c=xyz&fontids=99999″);
@font-face{
font-family:”Benguiat Pro ITC W04 Book”;
src:url(“wp-includes/fonts/999999/xyz.eot?#iefix”);
src:url(“wp-includes/fonts/999999/xyz.eot?#iefix”) format(“eot”),url(“wp-includes/fonts/999999/xyz.woff2”) format(“woff2”),url(“wp-includes/fonts/999999/xyz.woff”) format(“woff”),url(“wp-includes/fonts/999999/xyz.ttf”) format(“truetype”);
}
</style>body {
font-family: ‘Benguiat Pro ITC W04 Book’, Fallback, sans-serif;
}In the Enfold Child Optionen i select at Heading Font “Standard” and Defines the Fonts for your Body text ???? What – i don’t find the Benguiat.
Have you a idea?
Regards Detlev- This reply was modified 7 years, 11 months ago by klassik-boote.
May 8, 2016 at 8:32 am #628831Hey!
Of you want to add the font, to the theme options, please do check here
https://kriesi.at/support/topic/new-custom-font/Cheers!
BasilisMay 8, 2016 at 4:14 pm #628875Basilis,
thanks for this tipp. I take the info from Dude and copy the font-files (not Google, it’s from Linotype) in the CSS-Folder. Then i write the font-face Information in custom.css. After reload the wp-admin i don’t find the new Font-entry in Heading font and Body text.Best regards
DetlevMay 10, 2016 at 11:44 am #629820Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueMay 10, 2016 at 11:52 am #629826Hello Josue,
many thanks for your help,
best regards
Detlev- This reply was modified 7 years, 11 months ago by klassik-boote.
May 10, 2016 at 12:19 pm #629841Hi,
The font has been added to the Theme Options but it seems the font files are not being included, i checked this URL and it led to an empty page:
https://fast.fonts.net/lt/1.css?apiType=css&c=d3d7e58c-d99f-4c53-9424-3d91e6c70f77&fontids=1458136Best regards,
JosueMay 10, 2016 at 12:48 pm #629857Hi Josue,
fantastic, now i see the font-name. thx
Too bad that the font does not show up. But that is not a problem of the theme, i must contact Linotype.Regards Detlev
May 10, 2016 at 1:40 pm #629894Ok, hope you manage to get this resolved, if you need anything else just let us know.
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.