-
AuthorPosts
-
etna34 Friend
etna34
- Join date:
- February 2015
- Posts:
- 37
- Downloads:
- 41
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 5 times in 4 posts
October 26, 2015 at 5:56 am #731803Hi
A very simple question: How can add a custom “xxxxxxx.less” file in T3 bs3 blank template?
Thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 26, 2015 at 6:12 am #752762Hi
You should add less file in this folder templatest3_bs3_blankless
Best regards
etna34 Friendetna34
- Join date:
- February 2015
- Posts:
- 37
- Downloads:
- 41
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 5 times in 4 posts
October 26, 2015 at 6:21 am #752763Thanks but you can not do it just like that.
I tried it this without success even if you compile less to css right after.
I can create it in local/themes/mytheme, then import it – @import “my.less” – through the override template.less there.
I was looking a more “official” way to do it.Regards
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
etna34 Friendetna34
- Join date:
- February 2015
- Posts:
- 37
- Downloads:
- 41
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 5 times in 4 posts
October 26, 2015 at 7:06 am #752771Well the file is not compiling.
I tried a million times.A worked solution I found is:
1. to create a folder named: less/extras
2. put inside your.less
3. Compile less to css
4. A your.css is created inside: local/css/extras/your.css
5. Declare your.css inside etc/assets.xmlI am wondering why it is not compiling a xxx.less in root less/ directory
Are you 100% sure? I am working in a pure Joomla + T3 environment.Regards
October 28, 2016 at 4:33 pm #981535According to the code in the t3 plugin, it only compiles the files that are part of its own template and it ignores the files inside /t3_template/less/themes.
So create any folder inside /t3_template/less/extra or /t3_template/less/myfiles put less files there.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 31, 2016 at 7:48 am #981988Hi,
You can try to follow the steps below
-
Create new less file from t3_template/less/extra follder
- Open t3_template/less/template.less file and import new less file into this file with format
@import "path-new-less-file";
- Click Compile LESS to CSS button: http://prntscr.com/d14p3f
Hope it helps
Regards
November 15, 2016 at 10:31 pm #986653I have done just this but it´s not generating, also tried with developer mode on.
path: "htdocs/templates/ja_teline_v/local/less/custom.less"
I also tried to add a plain .css file but to luck. "htdocs/templates/ja_teline_v/local/css/custom.css"Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 17, 2016 at 1:34 am #987100@mackelito: With the CSS file, you can create templates/ja_teline_v/css/custom.css file and add the CSS style into it. If it could not help you out, you can provide me the URL here for further investigation
-
AuthorPosts
This topic contains 8 replies, has 5 voices, and was last updated by Ninja Lead 8 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum