× Discussion about "Furniture Store" VirtueMart/Joomla template

Topic-icon Fonts Installation help

6 years 8 months ago #11356 by dfalir

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 or Create an account to join the conversation.

6 years 8 months ago #11397 by ivan.milic
Replied by ivan.milic on topic Fonts Installation help
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 or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.132 seconds