Beamer Presentation - non devided subbar issue

I want to create the following beamer presentation but unfortunately, I couldn't. I don't know which package I need to use to fix this. I am using pdfpages package.

Here's my code:

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
\usetheme{Warsaw}
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL]
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\begin{document}

\begin{frame}
\titlepage
\end{frame}


The desired output is as shown in the picture.

• Welcome to TeX.Stackexchange! – user36296 Dec 8 '18 at 22:19
• @samcarter I have applied your code, the result of the centred title was correct but unfortunately, page numbering doesn't appear. – Fouzi TAKELAIT Dec 8 '18 at 23:43
• Is your beamer version up-to-date? The page number template I use was added maybe a year ago. If your beamer version is older it won't work. – user36296 Dec 8 '18 at 23:54
• @samcarter In fact, I am using Overleaf. ) – Fouzi TAKELAIT Dec 9 '18 at 0:09
• Overleaf uses a pretty old latex version. Can you try to add \setbeamercolor{page number in head/foot}{fg=white}? – user36296 Dec 9 '18 at 0:19

1 Answer

You don't need a package to fix this, just a different definition of the footline:

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
\usetheme{Warsaw}
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL]
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\setbeamertemplate{page number in head/foot}[totalframenumber]

\makeatletter
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\hfil
\usebeamerfont{title in head/foot}\insertshorttitle
\hfill
\makebox[0pt][r]{
\usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}\hspace*{2ex}}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\end{document}


EDIT for seriously outdated tex distributions like the one used by overleaf

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
\usetheme{Warsaw}
\setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL]
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\setbeamertemplate{page number in head/foot}[totalframenumber]

\makeatletter
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\hfil
\usebeamerfont{title in head/foot}\insertshorttitle
\hfill
\makebox[0pt][r]{\insertframenumber\,/\,\inserttotalframenumber\hspace*{2ex}}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\end{document}