| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Payment Methods "Description" field cuts off content | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Payment Methods "Description" field cuts off content
When adding text with multiple lines into the "Description" field of an offline payment type, it would be nice if the text wrapped at line breaks, or if not, possibly allow limited HTML tags like "br" or "b". Without this capability, the multiple lines of text run off the end of the single line, truncating "most" of the text.
Kevin
__________________
X-Cart 5.1.4 Pay With Amazon |
|||||||
#2
|
|||||||
|
|||||||
Re: Payment Methods "Description" field cuts off content - resolved
I probably should have checked the bug tracker for this problem.
http://bt.x-cart.com/view.php?id=43598 Suggestions from the bug comment to use Custom CSS (System Settings->Look & Feel->Custom CSS) proved quite useful. The original problem was that the text didn't wrap. Changing white-space to "normal" allowed the text to wrap, but didn't honor the line feeds between the lines of text. Using "pre-line" solved the linefeed problem, so at the bottom of the Custom CSS panel, enter the 2 lines listed, then tick the "Use custom CSS" option and then click the Save button. .checkout-block ul.payments li label { white-space: pre-line; } The Description text field now shows each line separately and honors the linefeeds. Cross browser support shows that "pre-line" is not supported by IE. YMMV Kevin
__________________
X-Cart 5.1.4 Pay With Amazon |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|