Search code examples
joomla2.5joomla-template

why does ja_orisite joomla template loads default css after any module installation


I am using Joomlart.com's JA_ORISITE template for my site, Everything works perfect except the css, It might be a feature of the template to maintains its original design, but This feature is a big hurdle for me. I have changed the css of the template as per my requirements, but every time I load or install a new module or plugin in to my installation, Default css is being loaded automatically, so Every time I need to fix the css as per my requirements and this frustrates me....

Glad to see any possible solution.... :)


Solution

  • T3 framework uses LESS to compile the CSS being used by the template. LESS is recompile for a multitude of reasons and it sounds like installing a new extension is one of them. When LESS is recompiled, you will lose any edits you have made to the CSS.

    In order to made CSS edits that are not overwritten by LESS you have to put any custom CSS in custom.css. The template is configured not to touch that file so your changes are not lost.

    Documentation is here - http://t3-framework.org/documentation/customization.html#custom-css