Price column too narrow in printed invoice

  • Posts: 18
  • Thank you received: 0
7 years 7 months ago #266662

-- 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?

Attachments:
Last edit: 7 years 7 months ago by mxcom.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #266665

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 18
  • Thank you received: 0
7 years 7 months ago #266983

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.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
7 years 7 months ago #266993

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.

  • Posts: 13
  • Thank you received: 0
7 years 5 months ago #272515

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.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
7 years 5 months ago #272527

Hi,

Sure.
You can use that CSS for example:

#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.

  • Posts: 13
  • Thank you received: 0
7 years 4 months ago #272768

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.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
7 years 4 months ago #272769

Hi,

I made a mistake in my previous code. I of course meant:

#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.

  • Posts: 13
  • Thank you received: 0
7 years 4 months ago #272811

Thanks, work like charms.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum