Introduction
We're happy to introduce a new version (V3) of the Customer Presentation PDF template. This version provides significantly more flexibility in styling and layout customization, making it easier to align presentations with customer branding and design requirements.
This document serves as a technical guide for customizing the V3 template. It describes the available CSS classes and explains how they can be used to adjust the appearance of the generated PDF.
Styling that can be customized on the branding set
For a few elements we have fields on the branding set that can be used to style the customer presentation PDF. This is the most easy way to customize the styling.
| Field | Applied to |
| Color 1 | The text color in the left bar, as well as the text color of item headers (experiences, degrees, courses, and other education). |
| Color 2 | separators between fieldsets in the left bar. |
| Color 3 | background of the left bar in the customer presentation PDF, as well as to the background of table rows |
| Color 4 | lines of the main headers in the customer presentation PDF |
| Photo border color | profile photo border and to the checkmark color in the skills table view |
| Add page numbers to PDF document | controls whether page numbers are displayed. Page numbers are not shown on the cover page. |
| Show footer in PDF document | controls whether the footer text is displayed. The custom label “CPCV_Footer” defines the footer content. The footer is not shown on the cover page. |
Styling that can be done with CSS
Every element in the PDF template has its own CSS class.
You have the ability to create a custom CSS file that overrides the stylesheet.
You should upload the CSS file as a static resource. And put the URL of the CSS file in the branding set. Below you find an overview of the classes that you can use to adjust the styling.
Main containers
CSS Classes
| Color | Class |
| ━━━ | body |
| ━━━ | first-page-logo |
| ━━━ | first-page-user-photo |
| ━━━ | colored-box |
| ━━━ | first-page-professional-name-container first-page-professional-name-container-left-aligned |
| ••••••••• | left-bar |
| ••••••••• | main-content |
Elements on first page
CSS Classes
| Color | Class |
| ━━━ | professional-name |
| ━━━ | job-name |
| ━━━ | account-name |
| ━━━ | left-bar-section-heading |
| ━━━ | left-bar-field-value |
| ━━━ | left-bar-field-label |
| ━━━ | byner__Introduction_text__c-label-text |
| ━━━ | main-content-section-body |
Elements on next pages
CSS Classes
| Color | Class |
| ━━━ | page-header |
| ━━━ | page-header-table |
| ━━━ | page-header-user-photo |
| ━━━ | page-header-name-text |
| ━━━ | page-header-logo |
| ━━━ | left-bar-field-label |
| ━━━ | main-content-section-item
|
Elements in experiences, educations and skills
CSS Classes
| Color | Class |
| ━━━ | main-content-section-item-title |
| ━━━ | main-content-section-item-meta |
| ━━━ | main-content-section-body |
| ━━━ | main-content-skill-two-col-name |
| ━━━ | main-content-skill-two-col-level |
| ━━━ | main-content-section-item |
| ━━━ | main-content-skill-bullet-column |
| ━━━ | main-content-skill-data-table |
| ━━━ | main-content-skill-bullet-item-name |
| ━━━ | main-content-skill-table-content-block |
| ━━━ | main-content-skill-data-table th |
| ••••••••• | .main-content-skill-level-cell |
| ••••••••• | main-content-skill-table-skill-name |
| ••••••••• | main-content-skill-level-checkmark |
| ••••••••• | footer |
General CSS Configuration
The PDF is rendered from HTML under the hood. Each block has class names that you can target.
In your branding CSS, you define rules using a class name followed by properties inside braces. For example:
body {
font-size: 14px;
}
This increases the default text size.
Only override what you need — everything else remains as defined by default.
Most used properties in stylesheets:
| Attribute | Used for | Example |
| font-size | specifies the text size | font-size:11px; |
| font-weight | makes text bold | font-weight: 700; |
| color | sets text color | color: #333333; |
| background-color | Sets the background color | color: #333333; |
margin margin-left margin-right margin-top margin-bottom | Sets the margin left/right/top/bottom side on the outside of an element | margin-left:5px; |
padding padding-right padding-top padding-bottom | Sets the margin left/right/top/bottom side on the inside of an element | padding:5px; |
| width | Sets the width of an element | width:600px; |
| height | Sets the height of an element | height:200px; |
Other classes that can be used to style the document
| Class name | Applied to |
| left-bar-section-heading | Sidebar block titles (e.g. professional information, person, contact). |
| left-bar-field-label |
Refer to a basic CSS reference for additional properties if needed. Generic classes (same idea across the PDF, not one-off section names):
body
Default text for the main area: font, size, line height, colour unless a smaller block overrides it.
.left-bar
The whole left column. Often used to set one font size for all sidebar text.
.left-bar-section-heading
Sidebar block titles (e.g. professional information, person, contact).
.left-bar-field-label
Sidebar field labels. .left-bar-field-value: the values next to them.
.main-content-section-heading
Main column section titles (the words like Experience, Education, etc.). Many sections share this class so one rule updates all of them.
.main-content-section-label-line
The horizontal line beside a section title (bar thickness is size/height, not a font).
.main-content-field-value
Body fields in the professional-information area (rich text blocks).
.main-content-section-body-text
Normal paragraphs in lists (job descriptions, school text, etc.).
.main-content-skill-panel
Wrapper around skill blocks (all skill types). Use for fonts/size shared by every skill section.
.main-content-skill-table-layout
.main-content-skill-bullet-layout
.main-content-skill-two-col-layout
Only the skill sections that use a table, bullet list, or two columns. Lets you tune one layout mode at a time.
.professional-name
.professional-name-first-name
.professional-name-last-name
Name on the cover. Size may also be set by the page for long names.
.job-name
.account-name
Job title and company line on the cover under the name.
.page-header-name-text
Name in the repeating header on inner pages (not the cover).
.footer
Bottom-of-page footer text.
Custom branding examples
1. Adjusted logo and user photo sizes, adjusted logo positioning and left bar colors;
.first-page-logo {
max-width: 190px;
height: 100px;
position: absolute;
display: inline-block;
right: 0;
}
.first-page-user-photo {
width: 220px;
margin-top: 65px;
margin-left: 40px;
}
.left-bar-field-label {
color: black;
}
2. Changed left bar section colors, changed font family, hid the introduction text section header, made experience item header lighter,
.left-bar-section-heading, .left-bar-field-value {
color: black;
}
body {
color: black;
font-family: Helvetica;
margin: 0;
font-size: 13px;
line-height: 1.6;
}
.professional-name {
font-family: Helvetica;
font-weight: 600;
line-height: 1.2;
text-transform: uppercase;
}
.byner__Introduction_text__c-label-table {
display: none;
}
.experiences-item-header {
padding-bottom: 7px;
font-weight: 400;
}
.soft-skills-two-columns-item-level-Senior {
color: #f73534;
}
.soft-skills-two-columns-item-level-Junior {
color: #06d80a;
}
.soft-skills-two-columns-item-level-Medior {
color: #f2af06;
}
3. Hidden left bar, changed bullet points to a long colored (green) dash.
Comments
0 comments
Please sign in to leave a comment.