joomlajoomla2.5joomla-extensionsjoomla-template

How to add custom css file in YT Framework Joomla Template


I am using YT Framework on Joomla2.5, I want to add new css file fot the template SJ+, but I could not find any documentation for the framework.

I have general understanding that, as the css will be builded every time I install any component or module, so in order to implement our custom css, I need to add my css in a specific file, but I am unable to find where to keep that file and with what name.

I have tried by adding a "custom.css" file in template's css folder.


Solution

  • After looking deeper into each of the css file I came to solution for loading of custom css for YT Framework templates. Keep your custom css in a file named "your_css.css" file under the css folder of your template, this is the functionality of the YT frame work that after loading all the css files required by the template, it loads this css file at the end so that all the default and dynamic css will be overloaded with all the stylings you have written in your_css.css file