Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Custom.less not working after upgrade to 5.1.3

More
7 years 8 months ago #204029 by GJSchaller
I upgraded one of my sites to Kunena 5.1.3, and noticed after this was done all of the CSS from Custom.less was no longer being applied. The contents of the file (and the file) still exist, but it doesn't seem to be calling on the Custom file after the upgrade.

Geoffrey Schaller
Technical Officer
Knight Realms

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #204031 by rich
Yes, you're right, it lacks the import for the custom less. I will add it in the bug list.
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'; */

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #204032 by ruud

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #204034 by rich
Hello ruud!

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.

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #204917 by unker
Hi there,

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.

More
7 years 5 months ago #204920 by rich
I've tested it and noticed a strange behavior. If you install the nightly build (on bottom on our download page) it works. If you go back from the DEV version to Kunena 5.1.5 it still works. It seems that this error occurs only during an upgrade.
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.

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

Time to create page: 0.221 seconds