Customer Portal

Get Involved. Join the Conversation.

Topic

    Richard Keevil
    FontsAnswered
    Topic posted July 14, 2015 by Richard KeevilGold Trophy: 10,000+ Points 
    179 Views, 3 Comments
    Title:
    Fonts
    Content:

    Is there a list of available fonts?  How do I add fonts that I can use on our support site?

    Version:
    Nov 2014

    Best Comment

    Richard Keevil

    It is indeed possible to use your own font:

    1) Upload your fonts into your site structure.  I uploaded mine to /dav/cp/customer/assets/fonts/FontXYZ/FontXYZ-Light.otf

    2) Add this code to the top of your css

    @font-face {
      font-family: FontXYZLight;
      src: url("/euf/assets/fonts/FontXYZ/FontXYZ-Light.otf") format("opentype");
    }
    

    3) Add this to your CSS where you want to use the font.

    font-family: FontXYZLight;  
    

    Comment

     

    • Nisar

      Hi Richard,

      I'm not sure about adding custom fonts to CP, but you can have a look at Google fonts. They can be used by simply calling their API and then using the desired font name as the font-family value. Check out the this example here.

    • Richard Keevil

      It is indeed possible to use your own font:

      1) Upload your fonts into your site structure.  I uploaded mine to /dav/cp/customer/assets/fonts/FontXYZ/FontXYZ-Light.otf

      2) Add this code to the top of your css

      @font-face {
        font-family: FontXYZLight;
        src: url("/euf/assets/fonts/FontXYZ/FontXYZ-Light.otf") format("opentype");
      }
      

      3) Add this to your CSS where you want to use the font.

      font-family: FontXYZLight;  
      
    • Danette Beal

      Thanks Richard for chiming in and closing out one of your older posts!!

      Danette, Community Manager