-
AuthorPosts
-
max_santiago Friend
max_santiago
- Join date:
- January 2013
- Posts:
- 216
- Downloads:
- 49
- Uploads:
- 58
- Thanks:
- 120
- Thanked:
- 8 times in 3 posts
August 22, 2016 at 11:08 am #961967Hi all!
Question about ‘Replace fonts’.
I have read JA article about fonts change > https://www.joomlart.com/documentation/joomla-faqs/embed-font, and paragraph about "Replace Google font with other font in T3".
-
I have declared my optioned Google font (Voltaire) in ‘assets.xml’ (templates/ja_mono/etc) with this code:
//fonts.googleapis.com/css?family=Voltaire //fonts.googleapis.com/css?family=Bitter:400,400italic //fonts.googleapis.com/css?family=PT+Serif:400,700 //fonts.googleapis.com/css?family=Open+Sans:400,700,600 fonts/font-awesome/css/font-awesome.min.css acm/clients/css/style.css acm/cta/css/style.css acm/features-intro/css/style.css acm/teams/css/style.css
- Into ‘variables.less’ (templates/ja_mono/etc) I replaced global font in this way:
// Typography // ————————- @font-family-sans-serif: ‘Voltaire’, sans-serif; @font-family-serif: ‘Voltaire’, serif; @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace; @font-family-base: @font-family-sans-serif;
- I have compiled LESS to CSS
but nothing, now my ‘body-text’ is a ‘serif’ (see screenshot) rather then VOLTAIRE.
Any solutions?! Maybe in custom.css I have to add some css code?
Thanks
M.
max_santiago Friendmax_santiago
- Join date:
- January 2013
- Posts:
- 216
- Downloads:
- 49
- Uploads:
- 58
- Thanks:
- 120
- Thanked:
- 8 times in 3 posts
August 22, 2016 at 8:49 pm #962134My friends my issue is SOLVED.
I have edited variables.less in general theme but I had remember that my theme was Orange.
I found in templates/ja_mono/less/themes/orange another ‘variables.less’ and there I have defined my body text (and also headings). Now body text is ok!A question: into variables-custom.less what code is possible insert inside?!
Thanks
M.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 8 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Google text replacing
Viewing 3 posts - 1 through 3 (of 3 total)