Profile PDF
Settings
Special PDF Classes
The following are the special classes for the efelle CMS PDF output. To use these classes, you will have to edit the HTML source code for the relevant text, using the <> source code editor button on the profiles WYSIWYG editor.
nolinebreak
Anything wrapped in the nolinebreak class will be forced to display all on one line in the PDF. For example, if you don't want someone's name to break in the middle even though it is at the end of a line of text, you can wrap the name in the nolinebreak class and it will prevent it from breaking in the middle. It would look like this in the source code:
<span class="nolinebreak">John Doe</span>
pagebreakafter
The pagebreakafter class will force a page break to occur immediately after itself. For example, if a profile section header is being separated from it's section content because there isn't enough room on the page for both, you can force the section header onto the next page by editing the HTML source code for the section that comes before it, and adding the following to the end of the section:
<span class="pagebreakafter"></span>
pagebreakbefore The pagebreakbefore class will force a page break to occur immediately before itself. To place a pagebreak before an element, edit the source and in the location that you want the break before, insert:
<span class="pagebreakbefore "></span>
pdfhide The pdfhide class can be used to hide any element that you don't want to display on the PDF (but do want to display on the website). To hide an element on the pdf, edit the HTML source code and wrap the element you want to hide with the following:
<span class="pdfhide ">Hide me!</span>
If you have any questions about this, or any difficulty with these classes, please contact our support system online at http://efellesupport.com/