Skip to main content

Price column too narrow in printed invoice

More
9 years 6 months ago - 9 years 6 months ago #266662 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?
Last edit: 9 years 6 months ago by mxcom.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #266665 by Jerome
Hello,

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.

More
9 years 5 months ago #266983 by mxcom
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?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #266993 by nicolas
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.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #272515 by marios
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) ?

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #272527 by nicolas
Hi,

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.

More
9 years 3 months ago #272768 by marios
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)

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #272769 by nicolas
Hi,

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.

More
9 years 3 months ago #272811 by marios
Thanks, work like charms.

Please Log in or Create an account to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum