Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I add a solid background color only to the title slide in beamer?

This is what I am doing after \begin{document}

\setbeamercolor{background canvas}{bg=blue}
\begin{frame}
Hello
\end{frame}
\setbeamercolor{background canvas}{bg=}
share|improve this question

1 Answer 1

up vote 6 down vote accepted

You can temporarily change colors between frames.

\documentclass{beamer}
\author{Beamer Author}
\date{\today}

\begin{document}
\setbeamercolor{background canvas}{bg=red}
\begin{frame}
\titlepage  
\end{frame}
\setbeamercolor{background canvas}{bg=}
\frame{The remaining frames $M=at^h$}
\end{document}

enter image description here

share|improve this answer
    
This is indeed the correct answer and I have tried every possible way of making it work even before posting the question, but for some reason it does not work for me, the background color is not set. Is there some way of troubleshooting this? –  Nimonika Dec 22 '11 at 9:28
    
@user10211 If you can edit your question an include a very basic and minimal example we might look at it together. –  percusse Dec 22 '11 at 9:43
    
I just edited my question to include the example. –  Nimonika Dec 23 '11 at 5:33
2  
@user10211: How is your edited post any different from @ percusse's answer? We would still not know why your approach does not work because of that. Provide minimal working example (MWE) that clearly shows your problem and include any errors or warnings you receive. It could be that you have an out-of-date distribution, or perhaps that you use packages that conflict with solution. –  Werner Dec 23 '11 at 6:00
    
SOLVED: It was my bad. In the documentclass declaration, I had an option "ignorenonframetext". This was the root cause of all the problems.:) –  Nimonika Dec 23 '11 at 6:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.