This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 6 months ago.

Custom Font


  • martamensi
    Participant

    Member Reply #6256

    Hi,

    I have the font files .ttf and .otf and I want to set them as the font for the whole project. What is it I have to do?

    Thank you

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #6280

    Hi,

    First you should make a web font using your font files and just apply it to any element with as normal CSS font:

    .my-class {
    font-familiy: ‘My Font’;
    }

    To create a web font from custom font files please check following resources:
    https://www.fontsquirrel.com/tools/webfont-generator

    Thanks.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.