# Is it possible to reduce the height of the frame title box in beamer?

I am writing a presentation with Beamer using the Copenhagen theme and the \useoutertheme[footline=institutetitle]{miniframes} option. Currently the headers look like this but since I am not going to use frame subtitles I would like to reduce the height of the frame title box. Is this possible?

The only relevant piece of information I could find is this answer which suggests the use of \addtobeamertemplate{frametitle}{\vskip-0.5ex}{}. Sadly, this doesn't work for me, because it moves up the frame title box, covering part of the subsection title.

Here's a minimal working example:

\documentclass{beamer}

\mode<presentation>
{
\usetheme{Copenhagen}
\useoutertheme[footline=institutetitle]{miniframes}
}

\begin{document}
\section{Foo}
\subsection{Bar}

\begin{frame}{Baz}
Foobar
\end{frame}
\end{document}

• Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Jul 11, 2015 at 12:53
• @samcarter Is this better?
– A.P.
Jul 11, 2015 at 13:02

You can reduce the size by defining our own custom frametitle. Just play around with the values for ht=2.0ex and dp=0.6ex and tune them according to your needs.

\documentclass{beamer}

\mode<presentation>
{
\usetheme{Copenhagen}
\useoutertheme[footline=institutetitle]{miniframes}
}

\setbeamertemplate{frametitle}{%
\nointerlineskip%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.0ex,dp=0.6ex]{frametitle}
\hspace*{1ex}\insertframetitle%
\end{beamercolorbox}%
}

\begin{document}
\section{Foo}
\subsection{Bar}

\begin{frame}{Baz}
Foobar
\end{frame}
\end{document}