# fancyhdr and long header on first page [duplicate]

I am trying to create a document with fancyhdr and a pretty long header. It works on all pages except the first page, where the text flows into the header. On the following pages the text starts after the header is finished.

Why doesn't the text get bumped down by the header? What is different about the first page and how can I fix this?

Here is a simple test case showing my problem:

\documentclass{article}

\usepackage{fancyhdr}
\pagestyle{fancy}

\usepackage[german]{babel}
\usepackage[utf8]{inputenc}

\fancyhf{}

with multiple lines \\
many lines \\
many many lines \\
many many many lines
}

\usepackage{blindtext}

\begin{document}
\section{A section}
\blindtext[30]
\end{document}


## marked as duplicate by Werner, Gonzalo Medina, moewe, Community♦Sep 14 '15 at 16:52

• Welcome to TeX.SX! Off-topic: Please replace german by ngerman. – user31729 Sep 14 '15 at 16:30
• @ChristianHupfer That is, unless you want to write a document following the old orthographic rules (pre-1996, I suppose). – moewe Sep 14 '15 at 16:49
• @moewe: Yes, true, and I would like to use the old rules too, but unfortunately, I am a teacher at a German school and have to use the new rules :-( – user31729 Sep 14 '15 at 16:51

Console compilation of the original document from the O.P shows a clear warning:

Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 58.54448pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.


That's why \headheight has to be changed, to at least 59pt, which less than 1in, I've used 3cm here:

\documentclass{article}

\usepackage{fancyhdr}
\pagestyle{fancy}

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}

\fancyhf{}