I've started with the basic Berkeley theme in Beamer. I wanted to modify the footer to include the page numbers that are centered on the slide. However, the modified footline element seems to be "stacked" at the bottom of the slide, which shifts slide content up and cuts off the bottom corner of the sidebar.
I want the slide to look exactly like the basic theme with just the page numbers pasted at the bottom, centered. I want the sidebar to extend all the way to the bottom of the slide. What do I have to modify to get this done?
Example code:
\documentclass{beamer}
\usetheme[width=2.0cm]{Berkeley}
%% **this part modifies footline to include slide numbers**
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,center]{frame number}%
\vskip0pt
\usebeamerfont{footline}\usebeamercolor[fg]{footline}\insertframenumber/\inserttotalframenumber
\vskip0pt
\end{beamercolorbox}%
}%
\vskip0pt%
}
\usepackage[utf8]{inputenc}
\title{Sample title}
\author{Anonymous}
\institute{ShareLaTeX}
\date{2013}
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Sample frame title}
This is a text in first frame. This is a text in first frame. This is a text in first frame.
\end{frame}
\end{document}


ht=0pt, dp=0ptin thebeamercolorbox, and set the second\vskip.5ex. – Herr K. Jan 23 '14 at 23:06