| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Invoices in the admin area print to large | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Invoices in the admin area print to large
I'm not sure, but perhaps the browser has some predefined styles too.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#12
|
|||||||||
|
|||||||||
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?
__________________
Best Regards, Sam Solace - Pres/CEO Century Performance Center, Inc. http://www.centuryperformance.com (3) sites using X-Cart 5.3.5.5 X-Payments Enterprise 3.1.4 |
|||||||||
#13
|
|||||||||
|
|||||||||
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.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#14
|
|||||||||
|
|||||||||
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?
__________________
Best Regards, Sam Solace - Pres/CEO Century Performance Center, Inc. http://www.centuryperformance.com (3) sites using X-Cart 5.3.5.5 X-Payments Enterprise 3.1.4 |
|||||||||
#15
|
|||||||||
|
|||||||||
Re: Invoices in the admin area print to large
Quote:
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#16
|
|||||||||
|
|||||||||
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?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#17
|
|||||||||
|
|||||||||
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.
__________________
Business License https://glaspak.com GoDaddy VPS - Apache with WHM 2GB ECC DDR3 1600MHz 2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz 15 MB proc cache 60 GB 10k RPM hdd PHP 7.0.15 MariaDB 10.1.21 with InnoDB engine |
|||||||||
#18
|
|||||||||
|
|||||||||
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
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#19
|
|||||||
|
|||||||
Re: Invoices in the admin area print to large
Quote:
__________________
X-Cart v 4.7.8(live) |
|||||||
#20
|
|||||||||
|
|||||||||
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
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|