[Tex/LaTex] Color of the navigation bar in beamer (theme Goettingen)

beamercolornavigation

How can I change the color of the navigation bar in beamer? I am using "Goettingen" theme. I tried several changes, but that did not work…

enter image description here

CODE:

\documentclass{beamer}

\usepackage[british]{babel}
\usepackage{graphicx,hyperref,url}
\usepackage{color}
\usetheme[left]{Goettingen}

\begin{document}

\begin{frame}
  \frametitle{Outline}

  \tableofcontents
\end{frame}

\section{Introduction}

\begin{frame}
  \frametitle{Introduction}

  \begin{itemize}
    \item This is just a short example
    \item The comments in the \LaTeX\ file are most important
    \item This is just the result after running pdflatex
  \end{itemize}
\end{frame}

\section{Background information}

\begin{frame}
  \frametitle{Background information}

  \begin{block}{Slides with \LaTeX}
    Beamer offers a lot of functions to create nice slides using \LaTeX.
  \end{block}

  \begin{block}{The basis}
    This style uses the following default styles:
    \begin{itemize}
      \item split
      \item whale
      \item rounded
      \item orchid
    \end{itemize}
  \end{block}
\end{frame}

\section{The important things}

\begin{frame}
  \frametitle{The important things}

  \begin{enumerate}
    \item This just shows the effect of the style
    \item It is not a Beamer tutorial
    \item Read the Beamer manual for more help
    \item Contact me only concerning the style file
  \end{enumerate}
\end{frame}

\section{Analysis of the work}

\begin{frame}
  \frametitle{Analysis of the work}

  When you know how to work with the Beamer package it is easy to use.
\end{frame}

\section{Conclusion}

\begin{frame}
  \frametitle{Conclusion}

  \begin{itemize}
    \item Easy to use
    \item Good results
  \end{itemize}
\end{frame}

\end{document}

Best Answer

I am unsure which colors of the different navigation components you want to change, so let me go through some of them.

  • The color of the navigation symbols can be changed using:

    \setbeamercolor{navigation symbols}{fg=red, bg=green}
    
  • The color of the navigation panel you can change by putting

    \setbeamercolor{structure}{fg=red}
    

    before \usetheme[left]{Goettingen}. Notice, however, that the colour will still be washed out, fading from top to bottom.

  • You can change the color of the titles in the navigation bar using

    \setbeamercolor{palette sidebar secondary}{fg=yellow,bg=blue}
    \setbeamercolor{section in sidebar shaded}{fg=red,bg=black}
    

    The secondary colors are the ones currently active.

I am not advocating these particular choices, especially since this is what they do:

enter image description here

Here is the code that produced this image:

\documentclass{beamer}

\usepackage[british]{babel}
\usepackage{graphicx,hyperref,url}
\usepackage{color}
\setbeamercolor{structure}{fg=red}
\usetheme[left]{Goettingen}

\setbeamercolor{navigation symbols}{fg=red, bg=green}

\setbeamercolor{palette sidebar secondary}{fg=yellow,bg=blue}
\setbeamercolor{section in sidebar shaded}{fg=red,bg=black}

\begin{document}

  \begin{frame}{Outline}\tableofcontents \end{frame}

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

  \section{Background}\begin{frame}{Background}\end{frame}
\end{document}

Finally, it is possible to have more than one color in the side bar by placing

\makeatletter
\setbeamertemplate{sidebar canvas \beamer@sidebarside}%
                  [vertical shading][top=green,bottom=blue]
\makeatother

after you have set the color them. Splicing this into the MWE above yields:

enter image description here

Again, pretty as they may be, I don't recommend any of these colors.