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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to customize either the Berkeley or PaloAlto themes, or just the sidebar outer theme, in order to keep the logo in its default position (upper-left corner) while removing the sidebar. At the moment I have only been able to remove the sidebar (by using the width=0 option, but this removes the logo as well.

As a side issue, I would also like to add an horizontal gray rectangle along the bottom of the slides, that would be immaterial to content layout, that is, that its presence does not alter the output of any contents in the slides, in the sense of scaling or rearranging it anyhow.

share|improve this question
up vote 5 down vote accepted

You can redefine the headline and frametitle templates; an auxiliary length can be used to save the original sidebar width for later use. For the horizontal rectangle at the bottom, define the footline template using a beamercolorbox of the desired width, height (and depth) and use a previously defined color:



    \hbox to \tmpsbwd{\hss\vbox to
  \vbox to \beamer@headheight{%
    \advance\leftskip by\tmpsbwd%
    \advance\leftskip by0.3cm%
    \advance\rightskip by0.3cm plus1fil%

\setbeamersize{sidebar width left=0cm}



\frametitle{Test title}
\framesubtitle{Test subtitle}
Test frame


enter image description here

share|improve this answer
Thanks @GonzaloMedina ! What should I modify in order to set the height of the title bar? It looks to me it is set in terms of predefined variables like \vskip. – Luis E. Jun 19 '12 at 16:31
@LuisE. the value controlling this height is \beamer@headheight; you can change this value and possibly will have to make some other adjustments. – Gonzalo Medina Jun 19 '12 at 16:35
That worked well. Now for the footline, I don't get any visible output out of it. I have tried this: \setbeamertemplate{footline} {% \begin{beamercolorbox}[wd=\paperwidth,ht=1ex,dp=1ex]{footlinebox} \color{gray} \end{beamercolorbox} } – Luis E. Jun 19 '12 at 16:49
@LuisE. comments are not the best place to write code. You can edit your original question and add the new problem. – Gonzalo Medina Jun 19 '12 at 16:51
I had not seen the edit you made, adding definitions for fg and bg in the footlinebox. This now works as well. Thanks for the exceedingly quick help! – Luis E. Jun 19 '12 at 17:05

Your Answer


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.