Jump to content
Sign in to follow this  
Bianca007

How to change CSS files directory

Recommended Posts

Hello,
I would like to know how to change the default directory of my css and js files. Right now, the script has some code in the header that automatically references the files in the css/js folder of the theme I'm using (www.domain.com/store/themes/my_theme/css/), for example, the css code in the header is:

{if isset($css_files)}
   {foreach from=$css_files key=css_uri item=media}
   <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
   {/foreach}{/if}



How/where can I change the default path so that I can save the js/css files in a different location other than my theme folder.
Thanks :)

Share this post


Link to post
Share on other sites

I don't want to have my theme folder referenced anywhere in my source code. Do you know how to change the path?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More