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 has already been posted for 1.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 0f4cc49 on 7.x-2.x
    Issue #2353361 by topsitemakers: Fixes CSS override lookup path in the...
aramboyajyan’s picture

Status: Needs review » Fixed
Daglees’s picture

Status: Fixed » Closed (fixed)