2

this code will create two kinds of colours in the upper part of each frame. How can I have only one colour, namely the deep blue?

The code:

\documentclass[xcolor=dvipsnames,11pt,mathserif]{beamer} 
\usetheme{Berlin}          % main theme
%\usecolortheme{lily}      % outer colour
\usecolortheme{rose}       % inner colour
\useoutertheme{infolines}     

\author{PSK} 
\title{Presentation} 

\begin{document}


\begin{frame}
\titlepage
\end{frame}

\section{Part I}
\begin{frame}{1st Frame}
 In this presentation ...
\end{frame}

\end{document}
2

The infolines outer theme sets

\setbeamercolor*{section in head/foot}{parent=palette tertiary}
\setbeamercolor*{subsection in head/foot}{parent=palette primary}

and the color you want is governed by palette tertiary so the quickest solution would be to set

\setbeamercolor*{subsection in head/foot}{parent=palette tertiary}
\setbeamercolor*{frametitle}{parent=palette tertiary}

A complete example:

\documentclass[xcolor=dvipsnames,11pt,mathserif]{beamer} 
\usetheme{Berlin}          % main theme
%\usecolortheme{lily}      % outer colour
\usecolortheme{rose}       % inner colour
\useoutertheme{infolines}     

\setbeamercolor*{subsection in head/foot}{parent=palette tertiary}
\setbeamercolor*{frametitle}{parent=palette tertiary}

\author{PSK} 
\title{Presentation} 

\begin{document}


\begin{frame}
\titlepage
\end{frame}

\section{Part I}
\begin{frame}{1st Frame}
 In this presentation ...
\end{frame}

\end{document}

enter image description here

2
  • Thanks. How can we have deep blue in the part that says 1st Frame as well? Is that possible? May 6 '14 at 0:35
  • @PantelisKazakis Please see my updated answer. May 6 '14 at 0:37

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.