To add new CSS & JS files you have to edit the default layout of your template (default.xml) and add the following code just after the layout opening tag

<!--Extra css load for this layout-->
<stylesheets>
<file>css/style.css</file>
</stylesheets>
<!--Extra JS load for this layout -->
<scripts>
<file>js/script.js</file>
</scripts>

Note
1- Make sure that the default.xml is your currently selected layout in the profile setings.
2- Make sure that the CSS/JS files that you added to default.xml are already exist in the CSS/JS folders.

Where are listed all other CSS files and Javascripts of the template
The first set of files to be loaded by the template are actually the Framework’s files which are located at
yoursite/plugins/system/jat3/base-themes/default/

The second set of files to be loaded are the files in the root directory of the template
yoursite/templates/your_template/

The last and the highest priority files to be loaded is the template’s theme files
yoursite/templates/your_template/core/themes/your_theme/

Pin It on Pinterest

Share This