# How to use outertheme infolines with one color?

I want to use the outertheme infoline with one color. My style file beamerthemeTest.sty looks like this:

\usetheme{CambridgeUS}
\useinnertheme{rectangles}

\setbeamercovered{transparent}

\RequirePackage{pgf}

\setbeamercolor*{Title bar}{fg=white,bg=zhawblue}
\setbeamercolor*{frametitle}{parent=Title bar}
\setbeamercolor*{block title}{bg=zhawblue,fg=white}
\setbeamercolor*{palette primary}{fg=white,bg=zhawblue}
\setbeamercolor*{palette secondary}{fg=white,bg=zhawblue}
\setbeamercolor*{palette tertiary}{bg=zhawblue,fg=white}
\setbeamercolor*{palette quaternary}{fg=white,bg=zhawblue}
\setbeamercolor*{separation line}{bg=zhawblue,fg=zhawblue}
\setbeamercolor*{fine separation line}{bg=zhawblue,fg=zhawblue}


But what resides is a small separation line between the panels. How can I remove them?

Thanks for any hints! Cheers Reza

-

Ok got it to work I had to replace the footline, headline and frametitle with custom code (copied and modified from outertheme shadow, split and infolines):

\usetheme{CambridgeUS}
\useinnertheme{rectangles}

\setbeamercovered{transparent}

\RequirePackage{pgf}

\setbeamercolor*{corporatecolor}{fg=white,bg=zhawblue}
\setbeamercolor*{frametitle}{fg=white,bg=zhawblue}
\setbeamercolor*{block title}{bg=zhawblue,fg=white}
\setbeamercolor*{block body}{bg=octavelightgray,fg=octavegray}
\setbeamercolor*{normal text}{bg=white,fg=octavegray}
\setbeamercolor*{palette primary}{fg=white,bg=zhawblue}
\setbeamercolor*{palette secondary}{fg=white,bg=zhawblue}
\setbeamercolor*{palette tertiary}{bg=zhawblue,fg=white}
\setbeamercolor*{palette quaternary}{fg=white,bg=zhawblue}

color(0pt)=(bg);
color(4pt)=(black!50!bg)
}

\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex]{corporatecolor}
\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\insertshorttitle
\end{beamercolorbox}%
\end{beamercolorbox}
\end{beamercolorbox}
}%
\vskip0pt%
}

{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex]{corporatecolor}
\end{beamercolorbox}%
\end{beamercolorbox}
\end{beamercolorbox}
}%
\vskip0pt%
\vskip-0.2pt
\vskip-2pt
}

\setbeamertemplate{frametitle}
{%
\nointerlineskip%
\vskip-2pt%
\hbox{\leavevmode
\begin{beamercolorbox}[sep=0.3cm,left,wd=\paperwidth]{frametitle}
\usebeamerfont{frametitle}%
\insertframetitle
\end{beamercolorbox}
}%
\nointerlineskip
\vskip-0.2pt
\vskip-2pt
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east,xshift=-2pt,yshift=0pt] at (current page.north east) {
\includegraphics[height=1cm]{images/zhaw_neg.pdf}};
\end{tikzpicture}
\vspace*{-0.6cm}
}


And here's the result:

-
There's still one ugly issue, the vertical space between the frametitle and the text body. A workaround is tu use \vspace*{-0.5cm} in every slide, but I think it's ugly code. –  Reza Nov 10 '12 at 18:47
try \nointerlineskip before the beamercolorbox –  bloodworks Nov 10 '12 at 18:55
There's already one in frametitle. When I insert one in headline it's going to mess up the layout. –  Reza Nov 10 '12 at 18:58
Inserting \vspace*{-0.6cm} in frametitle solved the problem, but it does not explain the cause? –  Reza Nov 11 '12 at 9:31