# Latex Beamer Madrid theme - how to get smoothbars in the footer not header?

How do I create a custom beamer style where my header contains only the title of the slide, and my footer - the smoothbars "dots" style of how far the presentation has progressed, i.e.

(((TITLE)))

Frame content

(((what you get above the title if you use \useoutertheme[subsection=false]{smoothbars}, but I want it in the footer)))

I'm using Madrid as my basis style at the moment, but I'm happy to use another style if it can't be customized.

-

## migrated from stackoverflow.comJul 14 '12 at 21:07

This question came from our site for professional and enthusiast programmers.

Starting from the Madrid theme, one could redefine the footline template (taking immediately into account to suppress the subsections, as it is possible to see from \useoutertheme[subsection=false]{smoothbars}).

Code:

\documentclass[compress]{beamer}
\usepackage{lmodern}

\makeatletter
\setbeamertemplate{footline}
{%
\vskip-9ex%
\begin{beamercolorbox}{}
\end{beamercolorbox}%
\end{beamercolorbox}%
}%
\makeatother

\title{My title}
\author{My name}
\institute{My institute}

\begin{document}
\section{First section}
\subsection{a}
\begin{frame}{Title}
hello
\end{frame}
\subsection{b}
\begin{frame}{Another title}
hello
\end{frame}

\section{Second section}
\subsection{a}
\begin{frame}{Title}
hello
\end{frame}
\subsection{b}
\begin{frame}{Another title}
hello
\end{frame}
\end{document}


which gives:

-