-
AuthorPosts
-
nsca Friend
nsca
- Join date:
- March 2012
- Posts:
- 247
- Downloads:
- 102
- Uploads:
- 51
- Thanks:
- 66
- Thanked:
- 15 times in 3 posts
September 14, 2013 at 10:03 pm #190613Hello, Kranos comes with custom fonts like “TeX Gyre Adventor” (Not google font).
Now, i want to add my own fonts that I download and purchased from font specific sites, I want to add this fonts and then be able to use in new styles.
TY in advance!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 16, 2013 at 4:06 am #505885You can find the solution how to add new font into JA Kranos Template
Open templates/ja_kranos/css/template.css file
see this script
@import url(../fonts/tex_gyre_adventor/stylesheet.css);
Open templates/ja_kranos/fonts/tex_gyre_adventor/stylesheet.css file and apply the same way to TeX Gyre Adventor font
Don’t forget to clear cache from admin area after changing
1 user says Thank You to Ninja Lead for this useful post
nsca Friendnsca
- Join date:
- March 2012
- Posts:
- 247
- Downloads:
- 102
- Uploads:
- 51
- Thanks:
- 66
- Thanked:
- 15 times in 3 posts
September 16, 2013 at 9:34 pm #505989Ill try! TY!
Was hard but not impossible! =) TY Ninja!
Now… how I add my new style to a module title (in the backend>templates>edit template) I have an option to assign a Google font to a specific place (like global, menu, etc) but I want to add my new font (not google fonts) to a all module titles. How?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
richnyc30 Friendrichnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
April 2, 2014 at 4:14 pm #529227What’s in the stylesheet.css that I have to add? The wording was vague.
I’m still confused. I’m using Argo template and want a font to show up in the editor and for use in the css files.
How do you make a font family?
I’m seeing lots of complex ways in the forums and nothing makes sense.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 2, 2014 at 5:18 pm #529237Perhaps THIS REFERENCE may help ??
richnyc30 Friendrichnyc30
- Join date:
- June 2011
- Posts:
- 105
- Downloads:
- 31
- Uploads:
- 4
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
April 2, 2014 at 8:07 pm #529273No, I want to use a ttf font, not a Google font.
What is the font stuff in ThemeMagic?
I can’t imagine why I would have to go into PHP code.
And again, how do I make the font family like I see in the folder /variableangles.com/templates/ja_argo/fonts/font-awesome/fontI can’t seem to find docs for any of these things. It can’t be that hard to add a ttf font.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 3, 2014 at 10:55 am #529350From the templates/ja_argo/css/bootstrap.css file, you can see sample to add ttf font:
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/font-awesome/font/fontawesome-webfont.eot');
src: url('../fonts/font-awesome/font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/font-awesome/font/fontawesome-webfont.woff') format('woff'), url('../fonts/font-awesome/font/fontawesome-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
} -
AuthorPosts
This topic contains 9 replies, has 4 voices, and was last updated by TomC 10 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum