0

Is there a way to upload css and js files to the the site's /css and /js folders through the Admin Console? Currently, the only way I envision this possible is through gaining ftp access to the website.

1 Answer 1

1

If your css/js is very short then I would say yes, you can add in admin area.

Go to System > Configuration > Design > Footer then add your code like this in Miscellaneous HTML box:

<style>
   your css
</style>

<script>
   your js snippet
</script>

However, if you have got very large css/js files like you said, then I would suggest, you should add as a file from ftp. There is no other way to upload files from admin area in native magento.

4
  • I don't see System > Configuration... could this mean that I don't have enough permissions to the Admin Console? Dec 7, 2016 at 22:23
  • Yes, that could be the case. Dec 7, 2016 at 22:40
  • 1
    Or you are on Magento 2, where the configuration is in "Stores", not in "System", as in Magento 1. Dec 7, 2016 at 22:42
  • According to magentoversion.com I am on v1.9.2.4. I'll ask for more permissions and see if that helps. Thanks! Dec 7, 2016 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.