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

    #1119392

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

    #1119461
    This reply has been marked as private.
    #1119465
    This reply has been marked as private.
    #1119833

    Hi,

    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,
    Ismael

    #1119861

    Hi, 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émy

    #1119999

    Hi Rémy,

    Best regards,
    Victoria

    #1120106

    Hi 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

    #1120783

    Hi,

    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

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