7

I'm using \setbeamercolor{structure}{fg=cyan!90!cyan} and it works for the top and bottom of the frame.

Now I want to change the background color of the frametitles. I've tried with \setbeamercolor{frametitle}{bg=cyan} but nothing happens. I want a plain color, not a gradient.

This is a capture of a frame

I get the following capture of the frame after applying Jesse's answer:

...

Robert
  • 14,181
  • 1
  • 52
  • 77
rulo4
  • 105

2 Answers2

5

You should set the frametitle right template colour's background to cyan!90, or

\setbeamercolor{frametitle right}{bg=cyan!90}

enter image description here

\documentclass{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\usetheme{Warsaw}
\setbeamercolor{frametitle right}{bg=cyan!90}
\setbeamercolor{structure}{fg=cyan!90}
\begin{document}

\section{A section}
\begin{frame}
  \frametitle{A section}
\end{frame}
\section{Another section}
\begin{frame}
  \frametitle{Another section}
\end{frame}
\section{Final section}
\begin{frame}
  \frametitle{Final section}
\end{frame}

\end{document}
Werner
  • 603,163
4

Hope this answers your question where a possible solution comes from here. The beamercolorbox environment is used here and some [options] has to be set so that the title is centered.

Code:

\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\setbeamercolor{structure}{fg=cyan!90!cyan}
\setbeamertemplate{frametitle}
{
    \nointerlineskip
    \begin{beamercolorbox}[sep=0.3cm,ht=1.8em,wd=\paperwidth]{frametitle}
        \vbox{}\vskip-2ex%
        \strut\insertframetitle\strut
        \vskip-0.8ex%
    \end{beamercolorbox}
}
\begin{document}
\begin{frame}
\frametitle{Test}
Blah blah
\end{frame}
\end{document}

enter image description here

Jesse
  • 29,686