| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Invoice Font Size - modification | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Invoice Font Size - modification
For the life of me I can't figure out how to make the printable invoices in the admin section have a larger font.. Right now the invoice says 15px font but when it prints I swear it is like 8 pt font...
using ?target=order&order_number=1&mode=invoice The css attribute is apparently inherited by .addresses .address-section .address-field span { } But I can't find any reference to this in any of the css files in the admin section... I know it was moved from 5.2 to 5.3. I tried disabling aggregate css but it still doesnt show which css file it is inheriting this from (the css file is still the aggregate even after I disable that and clear the cache). This is what dev tools says for the css file https://glaspak.com/var/resources/admin/https/screen/1962436ee4d61a7b55ae7a2a5f63fe7f.css?1497932647 Edit: http://kb.x-cart.com/en/modules/pos_system_for_x-cart/using_pos_system_for_x-cart/using_the_pos_system_mod...mer_area).html Can this please be updated
__________________
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 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Invoice Font Size - modification
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
__________________
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 |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Invoice Font Size - modification
Quote:
Thanks for the reply. Code:
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 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Invoice Font Size - modification
I'm not sure why it was done this way.
Quote:
It works for me if I open the ?target=order....mode=invoice page and then choose "Print" as the render option. Perhaps you use the PDF invoice module, and it changes the way how the invoice page behaves.
__________________
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 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|