- Posts: 20
- Thank you received: 0
Price column too narrow in printed invoice
9 years 6 months ago - 9 years 6 months ago #266662
by mxcom
Price column too narrow in printed invoice was created by mxcom
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6
How can i increase the column width of the prices when i want to print the invoice?
The currency symbol is always under the price, because the column is too narrow. There is enough space on the left side to increase the width.
How can i solve this issue?
-- Joomla version -- : 3.6
How can i increase the column width of the prices when i want to print the invoice?
The currency symbol is always under the price, because the column is too narrow. There is enough space on the left side to increase the width.
How can i solve this issue?
Last edit: 9 years 6 months ago by mxcom.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #266665
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Price column too narrow in printed invoice
Hello,
The best would be to use some CSS :
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
The best would be to use some CSS :
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #266983
by mxcom
Replied by mxcom on topic Price column too narrow in printed invoice
Could you be much more precise please?
I know that i have to use css to change it,but could you give me a specific answer (which file, which line, etc) please?
I know that i have to use css to change it,but could you give me a specific answer (which file, which line, etc) please?
Please Log in or Create an account to join the conversation.
9 years 5 months ago #266993
by nicolas
Replied by nicolas on topic Price column too narrow in printed invoice
Hi,
If you're talking about the invoice you can print in the backend, such CSS code could be added in the backend CSS of backend in the HikaShop configuration as explained in the link provided in the previous message :
#htmlfieldset_products td{
white-space: nowrap !important;
}
Please note that CSS customization is not part of the user support included in commercial editions.
If you're talking about the invoice you can print in the backend, such CSS code could be added in the backend CSS of backend in the HikaShop configuration as explained in the link provided in the previous message :
#htmlfieldset_products td{
white-space: nowrap !important;
}
Please note that CSS customization is not part of the user support included in commercial editions.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272515
by marios
Replied by marios on topic Price column too narrow in printed invoice
Hello,
I'm have small web shop and also bothering with ugly Hikashop invoice printouts for longer currecnes names,
tried your hint but it applied nowrap to whole row (and my product name is long so it broke even more view)
Can you help how to apply nowrap attribute to specific table colum(s) ?
I'm have small web shop and also bothering with ugly Hikashop invoice printouts for longer currecnes names,
tried your hint but it applied nowrap to whole row (and my product name is long so it broke even more view)
Can you help how to apply nowrap attribute to specific table colum(s) ?
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272527
by nicolas
Replied by nicolas on topic Price column too narrow in printed invoice
Hi,
Sure.
You can use that CSS for example:
Sure.
You can use that CSS for example:
Code:
#htmlfieldset_products td{
white-space: nowrap !important;
}
#htmlfieldset_products tr td:first-child{
white-space: nowrap !important;
}
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272768
by marios
Replied by marios on topic Price column too narrow in printed invoice
Thank a lot for your help, bit this doesn't work as expected (it still also no-wraps product name).
I temporary work arounded this by setting (class="title" width="55%" from orignal 60%) but this seems to be fragile,
(depend on actual order layout)
I temporary work arounded this by setting (class="title" width="55%" from orignal 60%) but this seems to be fragile,
(depend on actual order layout)
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272769
by nicolas
Replied by nicolas on topic Price column too narrow in printed invoice
Hi,
I made a mistake in my previous code. I of course meant:
I made a mistake in my previous code. I of course meant:
Code:
#htmlfieldset_products td{
white-space: nowrap !important;
}
#htmlfieldset_products tr td:first-child{
white-space: normal !important;
}
The following user(s) said Thank You: marios
Please Log in or Create an account to join the conversation.
9 years 3 months ago #272811
by marios
Replied by marios on topic Price column too narrow in printed invoice
Thanks, work like charms.
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds