Copied to clipboard

Flag this post as spam?

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


  • Christine 115 posts 288 karma points
    Mar 21, 2013 @ 16:39
    Christine
    0

    How do I add font files?

    I'm planning to use an icon font (Font Awesome) for a website...but how do I add the files in the admin panel?

    Ideally I'd see a Font folder in the settings, but it doesn't look like it's going to work that way. 

    I'm very new to Umbraco.


    Thanks in advance!

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 21, 2013 @ 16:42
    Alex Skrypnyk
    0

    Hi Christine,

    Where do you want to use font? Font-face don't suit you?

    In admin part ?

    Thnaks

  • Christine 115 posts 288 karma points
    Mar 21, 2013 @ 16:46
    Christine
    0

    Hi Alex,

    The font will be used on the website.  And while it is easy to add style sheets to I do need to put the actual font files somewhere and reference them in the style sheet.  

    I guess more specifically, where do I put the font files and what would the reference path be for my style sheet.

     

    Thanks!

  • Christine 115 posts 288 karma points
    Mar 21, 2013 @ 16:59
    Christine
    1

    Ah I have answered my question!

    I'm new to Umbraco and was under the impression that when I added a folder in my solution in Visual studio it did not add the files in the Umbraco website...lol don't ask.

    So I added a font folder in my VS solution and called it font and my reference path for my font face looks like this:

     

    @font-face {

      font-family: 'FontAwesome';

      src: url('../font/fontawesome-webfont.eot?v=3.0.1');

      src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),

        url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'),

        url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');

      font-weight: normal;

      font-style: normal;

    }

     

    All is working :)

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 21, 2013 @ 17:10
    Alex Skrypnyk
    0

    Cool )) Umbraco is awesome )

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Mar 21, 2013 @ 17:10
    Alex Skrypnyk
    0
  • Mani Sancho-Ortiz 3 posts 23 karma points
    Aug 05, 2013 @ 11:06
    Mani Sancho-Ortiz
    0

    I'll try to revive this topic by asking exactly the same question - but with the additional proviso that I'm not using Visual Studio, so the apparent solution above doesn't apply.

    I simply want to change a font-face setting in the css stylesheet (I know how to do this), but it needs to reference the relevant font in the font-folder - and I can't see how to access this from the web-based CMS interface? Am I overlooking something very obvious?

Please Sign in or register to post replies

Write your reply to:

Draft