I need to store my css files at a location outside Drupal's path (e.g. /srv/assets/css/my_site/general.css). I attempt to achieve this using drupal_add_css
but the browser loads them from:
http://www.my-site.com/srv/assets/css/my_site/general.css
which results of course in 404 error.
Any idea how to load those external (file system) CSS files from within a module? note: I am using Linux.
drupal_add_css
requires that the name of the CSS file begin with the modules names. For example, the custom module would require, the CSS file named custom.css. Not sure about this though. – Parag Jul 4 '16 at 19:51