Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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 Detlev

    #628713

    Hey 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,
    Basilis

    #628823

    Hi 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&#8243;);
    @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.
    #628831

    Hey!

    Of you want to add the font, to the theme options, please do check here
    https://kriesi.at/support/topic/new-custom-font/

    Cheers!
    Basilis

    #628875

    Basilis,
    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
    Detlev

    #629820

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #629826

    Hello Josue,
    many thanks for your help,
    best regards
    Detlev

    • This reply was modified 7 years, 11 months ago by klassik-boote.
    #629841

    Hi,

    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=1458136

    Best regards,
    Josue

    #629857

    Hi 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

    #629894

    Ok, hope you manage to get this resolved, if you need anything else just let us know.

    Regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.