Tagged: configuration less
-
AuthorPosts
-
didier l Friend
didier l
- Join date:
- December 2015
- Posts:
- 9
- Downloads:
- 15
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
September 2, 2016 at 5:53 pm #965163Hello,
I want to modify font size not only in article (using Theme customizer – typography menu) but also in module, sidebar-inner
In file template.css, I have found the following code …
.sidebar-inner { font-size: 14px; }
My idea is to modify less files ; in _style.less, I have found this code
.sidebar-inner { font-size: @fontSizeSmall; }
In _variable.less file, , I have modified following instructions
// Component sizing // ------------------------- // Based on 14px font-size and 20px line-height @fontSizeLarge: 18px; @fontSizeSmall: 12px; @fontSizeMini: 11px;
If I modify less files, it should modify css files built from less files … Can you confirm this method ?
(I have used this approach with another template from rocktheme)
Thanks
Didier
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 2, 2016 at 6:12 pm #965165If I modify less files, it should modify css files built from less files … Can you confirm this method ?
Yes it is correct
You can also take a look at the DOCUMENTATION HERE
didier l Frienddidier l
- Join date:
- December 2015
- Posts:
- 9
- Downloads:
- 15
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
September 2, 2016 at 11:08 pm #965210hi
To compile less, you have to go to extensions/templates/templates/ja simpli …
Select a file to edit it … and you will see in top menu option to compile less !
September 3, 2016 at 7:09 pm #965351I thought the JA Simpli Template doesn’t have the option to compile LESS to CSS?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 3, 2016 at 7:34 pm #965352I thought the JA Simpli Template doesn’t have the option to compile LESS to CSS?
It has less files and compile less button
-
1 user says Thank You to pavit for this useful post
didier l Frienddidier l
- Join date:
- December 2015
- Posts:
- 9
- Downloads:
- 15
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
September 4, 2016 at 9:09 am #965422hello,
When I have modified _variables.less file, I have just compile it and nothing happens !
I edit template.less file and I find some instructions as
// // Templates Assets // --------------------------------------------- @import "_variables.less"; @import "_core.less"; @import "_form.less"; @import "_navigation.less"; @import "_components.less"; @import "_modules.less"; @import "_joomla.less"; @import "_typo.less"; @import "_styles.less";
Can you confirm that template.less is the only file to be compiled ?
Thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 6, 2016 at 5:58 am #965954Can you confirm that template.less is the only file to be compiled ?
Yes you should compile it and it loads all other modifications you made on other files.
didier l Frienddidier l
- Join date:
- December 2015
- Posts:
- 9
- Downloads:
- 15
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
January 11, 2017 at 10:15 pm #1001689Sorry ! I didn’t compile the good file, template.less
Thanks !
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 3 voices, and was last updated by didier l 7 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum