Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Alice Ching Friend
    #190333

    Hello,

    I have my own javascript and css file that I will be uploading to my joomla site via ftp. How do I let these files to join/minify and compress along with other template files? Is there a specific folder that i need to upload to in order to do this?

    Thanks,

    Will

    Ninja Lead Moderator
    #504854

    All css and js files on JA University Template, you can find it here

    + Css files: templates/ja_university/css/

    + JS files: You need to change to match each extension on your site

    You can turn off css and js compress from back-end of JA University Template.

    and process to change js and css files.


    1. off_compress
    Alice Ching Friend
    #504898

    Hi,

    You didnt answer my question, I dont want to turn off compress. I want to turn it on. I want my own files to be included in the compression.

    So I have shadowbox.css and shadowbox.js files, and I want these files to be compressed, how do I do that?

    Thanks,

    Will

    Ninja Lead Moderator
    #504933

    I mean you can turn of the compress on your site change js and css files after that you can turn on compress on your site 🙂

    If you want to add shadowbox.css and shadowbox.js files to be compressed on JA University Template, this way will help you to do that

    Open templates/ja_university/etc/layouts/default.xml file

    From


    <!--Extra css load for this layout-->
    <stylesheets>
    <file>css/template.css</file>
    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>
    </stylesheets>

    Change to


    <!--Extra css load for this layout-->
    <stylesheets>
    <file>your_path_shadowbox.css_file</file>
    <file>css/template.css</file>
    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>
    </stylesheets>
    <scripts>
    <file>your_path_shadowbox.js_file</file>
    </scripts>

    Remember to clear cache from Admin area after changing. Let me know if it helps

    Alice Ching Friend
    #505150

    yes, that works. thank you.

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  Alice Ching 11 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum