[Tex/LaTex] modify beamer footer portions

beamerheader-footer

I have a small problem because I have quite a long title of my presentation so it is overflowing in footline…

Is there any way how to change portion of these 3 parts in footline?
I think that 1/3 just for page number is too much in my case…

Thanks…

also I am aware of that solution:Modify footer of slides

but it is slightly different.

Without navigation symbols:

with navigation symbols:

There is amissing color change if I will not use the navigation symbols.

Best Answer

Notice that you can use the optional argument for \title, as in

\title[<short version>]{<long version>}

to provide a shorter version of the title for the footline. If this is not an option, then see below.

You can place the three elements (author,title and page counting) in different beamercolorboxes and adjust their width to suit your needs (change the wd=<length> parameters making sure the three lengths add up to 1\textwidth):

\documentclass{beamer}
\usetheme{CambridgeUS}

\makeatother
\setbeamertemplate{footline}
{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.6\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.25ex,dp=1ex,center]{date in head/foot}%
    \insertframenumber{} / \inserttotalframenumber\hspace*{1ex}
  \end{beamercolorbox}}%
  \vskip0pt%
}
\makeatletter
\setbeamertemplate{navigation symbols}{}

\date{date}
\title[The title is quite quite quite quite quite quite long]{The title is quite quite quite quite quite quite long}
\author{My name}
\institute{My school}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\end{document}

enter image description here

A zoomed image of the footline: