This module is a tiny module that allows developers to add style sheets/scripts in info file. The special thing is in the info file, developers can choose the path where the style sheets/scripts will be applied.
Whenever Drupal matchs the defined path, the corresponding CSS/JS files will be loaded.
A sample rules in info file:
===============
; Theme specific CSS
path-stylesheets[node/*][all][] = css/page-node.css
; Theme specific CSS
path-scripts[node/*][all][] = js/node-scripts.js
===============
*: This project starts from http://drupal.org/project/css_by_path
Project information
- 9 sites report using this module
- Created by Oliver Huynh on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.