How to add new font

More
12 years 2 months ago #22479 by vladimir065
Hi,
i would like to add new font in Destinations template.

The font is Kaushan Script.

What steps I should take do to add this font?

Please Log in to join the conversation.

More
12 years 2 months ago #22483 by ivan.milic
Replied by ivan.milic on topic How to add new font
save font sources in templates /css folder

then put definition in template_css.css:

This is some example:

@font-face {
font-family: 'GillSansMTRegular';
src: url('gill_sans_mt-webfont.eot');
src: local('☺'), url('gill_sans_mt-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

you would call fon from this example as 'GillSansMTRegular'

here is w3 ref for @font-face:

www.w3schools.com/cssref/css3_pr_font-face_rule.asp
The following user(s) said Thank You: peterk2006

Please Log in to join the conversation.

More
12 years 2 months ago #22536 by peterk2006
Replied by peterk2006 on topic How to add new font
Prompt, where it is possible to find a beautiful Russian font for heading?
Font it is necessary подгружать together with page?

Please Log in to join the conversation.

More
12 years 2 months ago #22538 by ivan.milic
Replied by ivan.milic on topic How to add new font
Not sure. Can you consult some local forums about that?

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum