- Paligo Documentation
- Publish
- PDF Styling
- Headers (PDF)
- Header Rule for PDF
Header Rule for PDF
By default, Paligo PDF outputs have a header rule at the top of each page. To style the rule, or remove it completely, use the Page settings in the PDF layout.
To set up the header rule:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select General and choose Page.
-
Use the Header rule setting to control whether the header rule is shown.
Choose either:
-
Yes
-
No
-
-
Set the Header rule length. This is the amount of page width that the header rule will cover and it has to be a numerical value with units of measurement. By default, it is set to 100%.
-
Use the Header rule alignment setting to control the position of the header rule. Choose from:
-
Start - The start of the line is aligned to the start of the content on the page. For example, on a left-to-right page, the line is left-aligned.
For example, the following image shows a line that is set to 50% width and aligned to the start of the page.
-
End - The start of the line is aligned to the end of the content on the page. For example, on a left-to-right page, the line is right-aligned.
For example, the following image shows a line that is set to 50% width and aligned to the end of the page.
-
Center - The line is aligned in the center of the page. This is only noticeable if the header rule length is less than 100%.
For example, the following image shows a line that is set to 50% and aligned to the center of the page.
-
Justify - If you use a line with spaces in it, such as a dashed line or dotted line, Justify sets both ends of the line to be solid. Paligo adjusts the spacing of the gaps in the line to compensate (spaces in the line cannot be at the start or end of the line).
-
Inside - The line is aligned to the inside edge of the page (the binding edge).
-
Outside - The line is aligned to the outside edge of the page.
-
-
Set the Header rule thickness. Enter the amount and the units of measurement (points), for example, 0.25pt. The higher the amount, the thicker the header rule will be.
-
Choose the Header rule style. You can choose from any of the available line styles including dotted, solid, and dashed.
For example, the following image shows a dashed header rule.
-
Set the Header rule color.
-
Clear the Use default color checkbox to select a color of your own choice.
-
Set the color either by:
-
Entering an RGBA code for the color you want (1).
-
Selecting the Color square to display the color selector (2).
-
Choose the color with the spectrum bar (3).
-
Control the transparency with the opacity bar (4).
-
Choose the color shade with the main color panel (5).
-
-
-
Select Save.
When you publish with this PDF layout, Paligo will create a PDF that uses the header rule settings that you have defined.