Table of Contents
More Resources
Adjusting the Header Size

Adjust the size and alignment of your header.
Let’s look at a sample header to understand which attributes to modify to position your header exactly where you want it. At the bottom of the page, a screenshot of the custom-attrs.xsl file displays each attribute used to adjust the header dimensions.
A
The distance between the top of the page and the top of the body text
You’ll need to modify the “page-margin-top” variable. This is defined outside any attribute-set in the root of the stylesheet. The default is 20mm.
B
The distance between the top of the page and the top of the header image
You’ll need to modify the “top” attribute of the “__header__image” attribute set. This will not affect any of the other positioning within the header because the image is positioned absolutely.
C
The distance between the top of the page and the top of the header text
You’ll need to modify the “padding-top” attribute of the “odd__header” attribute set. Modifying this value will also change the size of the header
D
The distance between the bottom of the header text and the bottom of the header background
You’ll need to modify the “padding-bottom” attribute of the “odd__header” attribute set. Modifying this value won’t change the position of the body text (use A).