Language file wrap

  • Posts: 34
  • Thank you received: 1
11 years 6 months ago #101338

I have this setting in my language file:
HIKASHOP_FINAL_TOTAL="Final Total (PA Residents will be charged 6% sales tax)"

However, because the (PA Residents will be charged 6% sales tax) does not wrap, the text covers up the final price.

Go here and click to add a product and you will see the issue.
mvs005-002.directrouter.com/~nighteye/checkout2/product/listing

Can I make a longer language file setting text wrap some way?

Thanks.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #101392

Hi,

I think that the solution would be to put a line feed through your language file, like this for example :

HIKASHOP_FINAL_TOTAL="Final Total \n (PA Residents will be charged 6% sales tax)"
Or to use some CSS code.

Hope this will help you a little.

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

  • Posts: 34
  • Thank you received: 1
11 years 6 months ago #101878

Thanks for the suggestion. \n did not work. I also tried \br. No luck. I'll just live with out that. Its OK.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #101934

That's strange, I tried it and it seems to be working fine with my translation file.

Last edit: 11 years 6 months ago by Mohamed Thelji.

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

  • Posts: 34
  • Thank you received: 1
11 years 6 months ago #101986

Here is mine.

Attachments:

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

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #101992

You need to use <br/> instead of \n

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

  • Posts: 34
  • Thank you received: 1
11 years 6 months ago #102010

Got it. Thanks.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum