Hello,

Right now the module forces themes to override the invoice stylesheet in one of the following locations: "/invoice" and "/css".
I think that this is a bit counter-intuitive, especially as it is not documented anywhere.

Often themes have special folders where overrides should be placed; e.g. "css/overrides".
This is the default and expected functionality, as it works the same way as regular module CSS overrides.

Attached is the patch that will scan whole theme directory when checking if the theme overrides the CSS.

Note: the same patch will be posted for 2.x branch of the module.

Let me know if any questions - thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aramboyajyan’s picture

  • topsitemakers committed 51404cf on 7.x-1.x
    Issue #2353355 by topsitemakers: Fixes CSS override lookup path in the...
aramboyajyan’s picture

Status: Needs review » Fixed
Daglees’s picture

Status: Fixed » Closed (fixed)