How to prevent line wrapping on the invoice PDF?
The product lines of the printed invoice are declared with <div>
and <span>
tags, and the price values and currency signs are declared in a <span>
tag.
Sometimes the currency sign may wrap to the next line. To prevent this, proceed as follows:
-
Identify the superior
<div>
tag.Use the template debug mode.
-
Identify the class name of the
<div>
tag. -
In the Layout & Design section of the template, click next to the
Custom CSS
field and specify the following CSS code:.ClassName {white-space:nowrap;}
Replace
ClassName
with the identified class name of the affected<div>
tag.