Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4111

    Would like to embed a Webfont:

    @font-face {

    font-family: ‘XY';

    src: url(‘XY.eot’);

    src: local(‘☺’),url(‘XY.woff’) format(‘woff’),

    url(‘XY.ttf’) format(‘truetype’),

    url(‘XY.svg#webfontDGhCBjc5′) format(‘svg’);

    font-weight: bold;

    font-style: normal;

    }

    fonts are generated by http://www.fontsquirrel.com/fontface/generator

    the XY files are on the server.

    questions: It is possible to integrate, and how?

    THX

    Cris

    #45027

    Paste the webfont css code in custom.css (located in the folder “css” and also upload your fonts into this folder (or create a subfolder but then you need to adjust the paths). Then add:

    h1,h2,h3{
    font-family: 'XY';
    }

    to custom.css

    #45028

    worked perfectly.

    thx a lot

    #45029

    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Webfont embedding’ is closed to new replies.