Header and Footer
Eledo does not use traditional header and footer sections.
Instead, it uses a Background document, which is rendered behind the main content.
This allows you to design the entire page layout — not just fixed areas at the top or bottom.
How it works
- The Background document is rendered first
- The Main document is rendered on top of it
- Both layers are independent
This means:
- background elements can overlap with content
- layout must be controlled explicitly
Creating a header and footer layout
A simple way to structure the page is to use a 3-row table.
Step 1: Create a full-page table
In the Background document:
- create a table with 1 column and 3 rows
- set width and height to 100%
This divides the page into:
- header
- content
- footer

Step 2: Set row heights
Row heights are automatic by default.
To create stable header and footer areas:
- set fixed height for the first (header) row
- set fixed height for the last (footer) row

Step 3: Add content
You can place:
- text
- images
- page numbers
Page numbers are available under Variables in the toolbar.

Step 4: Remove table borders
Set border size to 0 in table properties.

Avoiding overlap with content
Since the Background and Main documents are rendered independently:
- Background is drawn first
- Main content is drawn on top
If elements overlap, the main content will cover the background.
To prevent layout issues:
- Define header and footer height in the Background table
- Increase top and bottom margins in the Main document
Margins are configured in Styles using CSS.

Dynamic Flow vs Static Pages
The behavior of the Background depends on the template type.
Dynamic Flow
- One Background layout is used for all pages
Static Pages
- Each page has its own Background
- Allows different layouts per page
However:
- each page behaves like a Dynamic Flow internally
- overflowing content creates additional pages
- those additional pages reuse the same Background
When to use this approach
Use Background-based headers and footers when you need:
- consistent page layout
- full control over page design
- repeated elements such as logos, titles, or page numbers
Related topics
- Page layout → Page Margins, Borders and Padding
- Variables → Variables
- Styling → Styles Mode