[Tex/LaTex] Beamer Dresden Theme remove subsections

beamer

I'd like to remove the bar under the navigation bar, that shows the subsection (see picture). I use the Dresden Theme and seagull color theme: http://deic.uab.es/~iblanes/beamer_gallery/individual/Dresden-seagull-default.html

Is there a nice way to do this?

\usetheme[compress]{Dresden}
\usecolortheme{seagull} 

enter image description here

Best Answer

I copied the headline template from the miniframes outer theme (the one used in Dresden) and remove the part displaying the subsection.

\documentclass{beamer}
\usetheme{Dresden}
\usecolortheme{seagull}

\defbeamertemplate*{headline}{miniframes theme no subsection}
{%
  \begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
  \end{beamercolorbox}
  \begin{beamercolorbox}{section in head/foot}
    \vskip2pt\insertnavigation{\paperwidth}\vskip2pt
  \end{beamercolorbox}%
  \begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
  \end{beamercolorbox}
}

\setbeamertemplate{footline}[miniframes theme no subsection]

\begin{document}

\section{Introduction}
\subsection{Something}
\frame{}\frame{}\frame{}\frame{}
\subsection{Something else}
\frame{}\frame{}\frame{}

\section{Bad News: Hardness Results}
\subsection{Something}
\frame{}\frame{}\frame{}
\subsection{Something else}
\frame{}\frame{}\frame{}

\section{Good News: Tractability Resulsts}
\subsection{Something}
\frame{}\frame{}\frame{}
\subsection{Something else}
\frame{}

\section{Summary}

\end{document}

enter image description here