This is a follow-up question to Rochester theme titlepage change height of top bar

I try to modify the distance between the title box and the top bar. Right now I only managed to change the height of the top bar.

Do you have any idea how to do that? Or maybe simply remove the top bar from the title page and move the title bar to the top?

\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% https://tex.stackexchange.com/q/58087/5764
\setbeamercolor{normal text}{bg=black!10}
\title[Title]{My title}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it

% Temporarily adjust header height to 7mm, only for title page
\expandafter\let\csname beamer@@tmpop@headline@sidebar theme\endcsname\relax
\defbeamertemplate*{headline}{sidebar theme}
    \vrule width0pt height \beamer@headheight%  

% Header height restored to 14mm

\section{A section}
\subsection{A subsection}
  \frametitle{Frame title}
  \framesubtitle{frame subtitle}
  Some text


The title page sets the title content vertically centred using a

% <title content>

approach. You can replace the first \vfill with a fixed \vspace. This replacement can be performed using etoolbox's \patchcmd on the title page beamer template (stored in \beamer@@tmpl@title page). Add the following to your document preamble:

\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\expandafter\patchcmd\csname beamer@@tmpl@title page\endcsname% <cmd>
  {\vfill}% <search>
  {\vspace*{<len>}}% <replace>
  {}{}% <success><failure>

You need to specify an appropriate value for <len> above. Here is the difference between the default (without the patch) and if you use -15mm:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.