Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Question Custom.less not working after upgrade to 5.1.3
- GJSchaller
- Topic Author
- Offline
- Premium Member
Geoffrey Schaller
Technical Officer
Knight Realms
Please Log in or Create an account to join the conversation.
Edit the crypsis.less and add this code at the last place (red marked).
#kunena.layout {
@import 'variables.less';
@import 'quirks.less';
@import 'general.less';
@import 'editor.less';
@import 'icons.less';
@import 'user.less';
@import 'profile.less';
@import 'categories.less';
@import 'mediaqueries.less';
@import 'twitter.less';
@import 'custom.less';
/* @import 'debug'; */
Please Log in or Create an account to join the conversation.
sharing = caring
Please Log in or Create an account to join the conversation.
It's not the same bug. Your solution solves the pointing to wrong location for generated kunena-custom.css
/components/com_kunena/template/crypsis/assets/kunena-custom.css 404 (Not Found)
The problem here:
If you have a custom.less, it needs the import, otherwise the codes will not displayed unless you use for all codes !important at the end.
That's why you need the line @import 'custom.less'; in the crypsis.less
But Kunena 5.1 replaced the complete crypsis.less now also if you have already a custom.less.
Therfore you can't see anymore your customized changes if you upgrade.
Please Log in or Create an account to join the conversation.
I#ve just updated to 5.1.5 and have the same issue. All my customisations are not applied anymore, it just looks terrible now.
In the crypsis.less the import of custom.less is present.
I would appreciate if somebody has a solution.
Please Log in or Create an account to join the conversation.
Try to install Kunena 5.1.5 again, maybe a file would have not correctly installed. If does not help, you can also install the nightly build Kunena 5.1.6-DEV.
But create a backup previously.
Please Log in or Create an account to join the conversation.
I have encountered this 'issue' my self several times when upgrading the various kunena versions.
Some version requires the entries in custom.less to start with the kunena identifier #kunena.layout
e.g.
this version automatically applies that identifier so you need to remove it again from the custom.less files
I have no clue as to why this is happening / why this is changed between versions?
sharing = caring
Please Log in or Create an account to join the conversation.
This seems the problem now. In principle the custom.less (only since K5.1.5) works now as it should.
Please Log in or Create an account to join the conversation.
I've just tested it with the 5.1.6-DEV and it is still the same. Nothing from custom.less is implemented.
Joomla 3.9, php 7.1.1
Additional:
I shifted the content from custom.less to custom.css and now everything looks as it should.
I guess this shouldn't be the way, right?
Best Regards
Hartmut
Please Log in or Create an account to join the conversation.
But in principle it's no matter if you use css or less.
The advantage from the custom.less, you need less of the codes. Less codes should bring a better performance for the page.
Example:
If you want change the user color in your custom.css you need
Please Log in or Create an account to join the conversation.