Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevon K. Hayes 255 posts 281 karma points
    Aug 20, 2010 @ 16:31
    Kevon K. Hayes
    0

    @font-face doesn't appear to be working in Umbraco

    UMB 4.5.1 | WIN SVR 2008 STD

    Using the following allows the font to be downloaded by clients that do not have that particular font installed on there machine. Thus allowing be to have design consistency.

    This works perfectly in a page outside Umbraco, and I was wondering is there anything that could be obstructing this from working as should w/in Umbraco.

    /*myStyle.css*/

    @font-face {
      font-family: trajan pro;
      src: url(TrajanPro-Regular.otf) format("opentype");
    }

    body p
    {
       font-family: "trajan pro";
    }

  • Kim Andersen 1447 posts 2196 karma points MVP
    Aug 21, 2010 @ 23:15
    Kim Andersen
    0

    I can't see how Umbraco should mess with the @font-face functionality. Where is your "TrajanPro-Regular.otf"-file placed in your Umbraco installation?

    Have you placed it in the same folder as your myStyle.css-file or somewhere else?

    /Kim A

  • Kevon K. Hayes 255 posts 281 karma points
    Aug 21, 2010 @ 23:40
    Kevon K. Hayes
    0

    must of posted this twice somehow but this has all ready been solved: it was a mime issue for me: http://our.umbraco.org/forum/using/ui-questions/11919--@font-face-doesn%27t-appear-to-be-working-in-Umbraco

Please Sign in or register to post replies

Write your reply to:

Draft