Okay
  Public Ticket #1908637
@font
Closed

Comments

  • Ursula started the conversation

    Hi,

    I want to integrate the font Papyrus from my own server. The font (ttf) is int the child theme in /fonts

    I integrate the following in once in the dynamic-combined.css and another itm in styles.css:

    /* dynamic styles will be written here*/
    @font-face {

    font-family: "papyrus";
      src: url(fonts/papyrus.eot);
      src: url(fonts/papyrus.eot#)
    format("hier kann irgendetwas stehen"),
       url(fonts/papyrus.woff)
    format("woff"),
       url(fonts/papyrus.ttf)
    format("truetype"),
       url(fonts/papyrus.svg#webfont)
    format("svg");
    }

    The theme does not show the font in the salient option panel "typography" 

    What is wrong?

    Regards

    Ursula 

  •  8,996
    Tahir replied

    Hey Again,

    Try adding it to Custom Css box instead of dynamic-combined.css as it gets overwritten.

    Best 


    ThemeNectar Support Team 

  • Ursula replied

    Hi, I tried this, it does not work, can I give you a logi in?

    which emaladress should i use?

    Regards

    Ursula

  •  8,996
    Tahir replied


    Please have a look at this Article :Add a Custom Font .

    Best


    ThemeNectar Support Team 

  • maku_consulting replied

    @Tahir: Is it possible to add multiple Fonts via the functions.php? If so, how?


    Best,

    Pascal

  •  75
    Scott replied

    Hey there,

    Thanks for reaching in,

    Yes it is possible though you would have to add all the fonts each at a time. https://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/

    Regards

    Themenectar Support Team