- Posts: 12
- Thank you received: 4
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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question Remove hard coded css styles?
15 years 6 months ago #65087
by wabugi
Replied by wabugi on topic Re: Remove hard coded css styles?
Thanks Matias!
I stopped working on the template for some days and just realized that the styles were still there. I was lucky that you already posted the solution for my problem ^^
I stopped working on the template for some days and just realized that the styles were still there. I was lucky that you already posted the solution for my problem ^^
Please Log in or Create an account to join the conversation.
15 years 6 months ago #65222
by caplinq
Replied by caplinq on topic Re: Remove hard coded css styles?
Hmmm... I'm having a hard time finding the file.
I checked the template.xml file in the com_kunena/template/default folder but it's not there, is it?
Also, I did a search for the initialize.php file, and it's not found either. I'm not a newbie at this, what am I doing wrong?
I checked the template.xml file in the com_kunena/template/default folder but it's not there, is it?
Also, I did a search for the initialize.php file, and it's not found either. I'm not a newbie at this, what am I doing wrong?
Please Log in or Create an account to join the conversation.
15 years 6 months ago #65229
by caplinq
Replied by caplinq on topic Re: Remove hard coded css styles?
Ok, I found it...
In the template.xml file - which is indeed here:
com_kunena/template/default/template.xml
I commented out the <params> that defined the CSS
For the initialize.php file, I don't know why i didn't find it before, it's here:
com_kunena/template/default/initialize.php
and in this file I deleted the /*Kunena Custom CSS */ details.
I don't quite iunderstand why it's here instead of in CSS file, but probably to make it easier for beginners to make basic changes.
In the template.xml file - which is indeed here:
com_kunena/template/default/template.xml
I commented out the <params> that defined the CSS
For the initialize.php file, I don't know why i didn't find it before, it's here:
com_kunena/template/default/initialize.php
and in this file I deleted the /*Kunena Custom CSS */ details.
I don't quite iunderstand why it's here instead of in CSS file, but probably to make it easier for beginners to make basic changes.
Please Log in or Create an account to join the conversation.
15 years 3 months ago #82215
by WebbR
Replied by WebbR on topic Re: Remove hard coded css styles?
It is maybe simple for people who are not familiar with css but an option to disable it would be very helpfull. I was like serching for some time to figure out why my changes in the css did't work and then again some time to find out how to disable the custom css in the sourcecode.
Anyway Thx for the solution here in this posting!
Anyway Thx for the solution here in this posting!
Please Log in or Create an account to join the conversation.
- marcodeluca
-
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
14 years 10 months ago #97054
by marcodeluca
Replied by marcodeluca on topic Re: Remove hard coded css styles?
I dont know if there is a more recent topic for this, but I had the same questions about removing the "hard-coded" CSS styles. So, one of the answers is KIND OF right. You can disable Kunena from publishing those CSS overrides in the template details. The problem is, it's totally un-intuitive how:
In the kunena admin, under Templates, select the template you want to use and toggle this option: BLEND WITH JOOMLA TEMPLATE.
Yes = there will be no CSS overrides
No = those CSS overrides will be published.
Why you would use this label rather than something like "publish css overrides" and then have the tooltip explain what that means ( use our CSS or your templates CSS ) would make a heck of a lot more sense:)
In the kunena admin, under Templates, select the template you want to use and toggle this option: BLEND WITH JOOMLA TEMPLATE.
Yes = there will be no CSS overrides
No = those CSS overrides will be published.
Why you would use this label rather than something like "publish css overrides" and then have the tooltip explain what that means ( use our CSS or your templates CSS ) would make a heck of a lot more sense:)
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds