Languages

Menu
Sites
Language
How to add fonts to the application?

Hi,

Could you say How to add fonts to the application?

Web app

 

 Thank you

Responses

2 Replies
André Reus

Hi~ 

You can follow the steps

1. Put your font file (ttf) in the css file location. 

2. In the CSS file add 

@font-face { font-family: Digital7; src: url('digital-7.ttf'); } 

3. Make custom class for your font 

.DigitalFont{
    font-family: Digital7;
}

4. Use where you want to use your font 

    <div>
	<h1 class="DigitalFont">Digi7 Font</h1>
	<button class="DigitalFont">Button</button>
    </div>

Hope this will help you. 
Let me know that .

-Thanks

Kilim A

Thank you for your reply

 I think i will do it at another time....

 Now i use another metod for my app...