How can I make a beamercolorbox in the background template take the whole width of the slide? The following doesn't work correctly (but it works for some other templates such as headline):
\documentclass{beamer}
\setbeamercolor{banner}{bg=green}
\setbeamertemplate{background}{
\begin{beamercolorbox}[wd=\paperwidth,ht=2cm]{banner}
\end{beamercolorbox}
}
\begin{document}
\begin{frame}
\frametitle{AA}
BB
\end{frame}
\end{document}
\hspace{1cm}just before thebeamercolorbox. – percusse Jul 25 '12 at 15:53\hspace{\beamer@leftmargin}– Simon Byrne Jul 27 '12 at 14:05