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:

...

0

2 Answers 2

5

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

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}
2
  • Why is this cyan looking different than the "section title" cyan?
    – yngve
    Jun 17, 2015 at 9:23
  • @yngve: This may stem from the fact that beamer uses palettes in its structure; shades of some primary specification with other colours.
    – Werner
    Jun 17, 2015 at 14:50

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.