# Add content behind beamer background (or theme)

I have a custom beamer template that frames the content of each slide, like the standard themes but with wiggly header/footer lines.

I add the background image of the template with

\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight]{master.png}}


I now want the content to be behind the background image and the rest of the template (title, page number...). The template will then have a cut-out with the content visible underneath. The background image can have .png or .pdf transparency.

Does anyone have an idea how to move the content behind the background image?

-
How about including the image with textpos in the footline? According to tex.stackexchange.com/questions/26299/… this should be the component drawn as the top layer – samcarter Apr 3 '14 at 16:53
nice idea. I tried but unfortunately this overwrites the title. Including it before the title let's it remain under the content. So I guess my question includes: how do I make the title come into foreground? – Matthias123 Apr 4 '14 at 17:57
mmm, that is too bad. Could you share an example of your code? It would be easier to modify an existing code in order to find an solution instead of having to write own stuff ... – samcarter Apr 4 '14 at 18:02
How about leaving the traditional title layer empty and including the title in the footline layer [after the passpartout]? – samcarter Apr 4 '14 at 18:06

In order to have the title in front of the picture: How about leaving the traditional frametitle layer empty and including the frametitle in the footline layer?

\documentclass[t]{beamer}

\setbeamercolor{background canvas}{bg=blue!20}
\setbeamerfont{frametitle}{size=\fontsize{24}{28},series=\bfseries}
\setbeamercolor{frametitle}{fg=white}

\pgfdeclareimage[width=\paperwidth]{mybackground}{back.pdf}

\providecommand\insertframetitle{}
\setbeamertemplate{footline}{%
\begin{picture}(0,0)
\put(0,0){%
\pgfuseimage{mybackground}
}
\put(25,220){%
\begin{minipage}[b][0mm][t]{100mm}
\usebeamerfont{frametitle}{
\usebeamercolor[fg]{frametitle}{
\insertframetitle
}
}
\end{minipage}
}
\end{picture}
}

\setbeamertemplate{frametitle}{\vspace*{2.5cm}}

\begin{document}

\begin{frame}
\frametitle{Test Test Test}
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test  test
\end{frame}

\end{document}


-
This looks perfect! Thank's – Matthias123 Jan 11 at 23:12

You could try overlaying the image using textpos or tikz, instead of setting it as the background.

-