![]() |
Re: Invoices in the admin area print to large
I'm not sure, but perhaps the browser has some predefined styles too.
|
Re: Invoices in the admin area print to large
Alex:
I'm also looking at the CSS for the printed invoice, as I have a client complaining about the font size for the customer address. It is considerably small. When viewing in Firefox, the font is 12px, but in the CSS fie it shows a much larger font. How or why is this font size being reduced, and where could we change the actual font to something that prints more clearly? |
Re: Invoices in the admin area print to large
Hello Sam,
In the 5.2.15 version the files that define styles for the printed invoice are these: - skins/admin/en/css/print.css (backend) - skins/default/en/css/print.css (storefront) - skins/pdf/en/order/invoice/print.css (PDF) You should look for styles defined for the ".invoice-box .header .address p" selector. |
Re: Invoices in the admin area print to large
Hello Alex:
Are you sure about "/skins/pdf/en/order/invoice/print.css (PDF)" ? That "/pdf/" folder does not exist. Also, how do I keep the changes, since after updating yesterday the other tweaks disappeared? |
Re: Invoices in the admin area print to large
Quote:
|
Re: Invoices in the admin area print to large
Quote:
How did you do the changes? Did you wrap modifications into a custom module as is described there: http://kb.x-cart.com/display/XDD/Basic+guide+to+theme+creation? |
Re: Invoices in the admin area print to large
Quote:
That is specific for Smarty Templates, how do you override the css files? I tried using custom CSS in the look and layout tab but that doesn't override the print css. |
Re: Invoices in the admin area print to large
Quote:
- /skins/default/en/css/print.css - /skins/admin/en/css/print.css Here is the article that explains how to add CSS files to your module * http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files |
Re: Invoices in the admin area print to large
Quote:
|
Re: Invoices in the admin area print to large
I believe that in 5.3.x the files are:
- skins/admin/css/print.css - skins/customer/css/print.css - skins/pdf/common/order/invoice/print.css |
All times are GMT -8. The time now is 08:14 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.