Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To create a printer-friendly version, the 6.x module currently only applies the system CSS files and a user-specified print CSS file.
As for a specific project I want most of my theme styles to be applied as well, I'd rather override the theme CSS than maintain two copies of the same directives.
This patch adds an option to keep the theme CSS when generating a printer-friendly version; by default it's turned off so simply applying this patch won't change the old behavior.
Comment | File | Size | Author |
---|---|---|---|
print.keep_theme_css.patch | 2.76 KB | ptaff | |
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedComment #2
jcnventura CreditAttribution: jcnventura commentedComment #3
jcnventura CreditAttribution: jcnventura commentedThanks Patrice,
Altough this patch goes against the design principle of the module, and my experience in testing this patch resulted in UGLY output, there are many users out there wanting this, so I've applied it to dev.
I had to swallow my pride when applying this, though..
Comment #5
divined CreditAttribution: divined commented