Fonts Installation help

  • dfalir
    Inactive member
  • Topic Author
  • Member
  • Member
More
13 years 6 months ago #11356 by dfalir
Milos,

sorry for this noob question but i am a noob as well! :S Could you provide some info on how can i install the fonts you provide so that every visitor will see them when they browse our site? Provide some instructions pls...

Thank you,
Dionisis Falireas

Please Log in to join the conversation.

More
13 years 6 months ago #11397 by ivan.milic
You need to put font files in template's css directory (same place where template_css.css is located), that files are <font name>.eot and <font name>.ttf. Then you need to define them in css, open template_css.css and at begining(before you use them) add definition:

@font-face {
font-family: <Font name you will use>;
src: url('<font file name>.eot');
}

you can also add default properties in above definition for that font like font-weight: bold;

then use font by name you give it just like any other font.

Second solution is to use google fonts (just google).
You add reference you copy/paste from googl's page and you add it in head section of index.php of template before any other css reference. Then use it like any other font.

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum