# How to define the vertical location of navigation text?

I am using beamer2thesis, i.e., the beamerthemeTorinoTh style to compile my presentation slides. It is nice but I realized that I need to do some modifications. The upper header stripes seems quite unnecessary unless I put navigation bar there, to show the sections we are in. I modified the outertheme style file,

 \leavevmode%
\hbox{%
\end{beamercolorbox}%
}%


The navigation text locates in the bottom of the colorbox. I expect it is at the center of the box instead of a location so low. Any modification I need to do? By the way, I want the color to be white, not this interaction color, because it looks quite not clear.

-
I upvoted. Now you must be able to upload it. Pl. try. Also it is advisable to provide a complete MWE along with your question. –  Harish Kumar Mar 27 '12 at 7:07

You can use a \vbox and \vfil inside the beamercolorbox to center its contents:

\begin{beamercolorbox}[wd=\paperwidth,ht=\headerheight,dp=0pt]{page header}%
\end{beamercolorbox}


To get the sections colored in white, the beamer templates section in head/foot and section in head/foot shaded have to be changed:

\setbeamertemplate{section in head/foot}{\color{fg}\insertsectionhead}


### Full example code:

\documentclass{beamer}
\usetheme{TorinoTh}

\makeatletter
{
\leavevmode%
\hbox{%
\end{beamercolorbox}%
}%
\vskip0pt%
\hbox{%
\end{beamercolorbox}%
}
}
\makeatother

\begin{document}
\section{Introduction}
\frame{}
\section{Conclusion}
\frame{}
\end{document}


### Result:

EDIT: If you want to show only the current section in the headline, you can use the following beamercolorbox instead of the above one:

\begin{beamercolorbox}[wd=\paperwidth,ht=\headerheight,dp=0pt,right]{page header}%

@seasoul I've updated my answer to support this. Simply use the alternative beamercolorbox I provided, the rest of the code remains the same. –  diabonas Mar 27 '12 at 13:40
@seasoul Sounds as if you were using an older version of beamer (before v3.11, released in September 2011). Anyway, your solution \def\secname{} is fine, this is exactly what the newer versions of beamer do, too. –  diabonas Mar 28 '12 at 10:29