From e0199278c87964a4e1772f29f50b93ecfb24d654 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 31 Aug 2016 14:26:26 +0200 Subject: [PATCH] Fix printing does not get background and images into account --- api/templates/default/print.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/templates/default/print.css b/api/templates/default/print.css index 494cf07c89..68188847d9 100644 --- a/api/templates/default/print.css +++ b/api/templates/default/print.css @@ -71,6 +71,8 @@ a,a:link,a:visited,a:hover { /* hide background-image to save print costs and spool time */ body { background-image: none; + /*this webkit force browser to print background and images. should work for Chrome/Safari/Firefox*/ + -webkit-print-color-adjust: exact; } /* MSIE needs these styles to repeat table header and footer part on each page */