Install the LESS CSS Preprocessor for Drupal

Blog Topics:

The Less CSS Preprocessor requires installing a LESS engine, but the instructions are confusing.

The LESS Engines documentation page is a little more helpful, except for a missing little twist... Here's how to do it:

  1. Install the Libraries module.
  2. From lessphp.gpeasy.com get the latest oyejorge/less.php release, 1.7.0.10 as of this writing.
  3. Extract it to your sites/all/libraries directory.
  4. Set the less_engine variable to "less.php".
  5. Install the less module.