Quote:
Originally Posted by qualiteam
You can debug printable pages in this way:
https://stackoverflow.com/questions/9540990
As far as I see, here is the selector that replaces the font size in printable invoices:
.invoice-box .addresses .address-section li.address-field *
It is in skins/common/order/invoice/common.less
|
Thanks for the reply.
Code:
.invoice-box .addresses .address .method-box,
.invoice-box .addresses .address-section li.address-field * {
font-size: 10px;
line-height: initial;
}
Well that explains a lot now.. Why would you set the print font size to 10px?!?
the suggestion for rendering as print doesn't work because x-cart generates the print invoice as a pdf and when i tried the render print option it just renders the admin.php page and doesn't generate the actual print document... So using ?target=order&order_number=5632&mode=invoice to find the css I need to edit and then editing, uploading, clearing cache and regenerating the print invoice to see the changes.
__________________
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