[Tex/LaTex] \logo command problem with Latex beamer theme “Marburg”

beamer

<code>enter image description here</code>

This is the code, I have used Warsaw theme but for the theme "Marburg" the logo command is not working…How the logo in the left can be placed in the sidebar same position as the picture???

\documentclass[12pt]{beamer} 
\mode<presentation>{}
%\usepackage{beamerthemesplit}
\usepackage{graphicx}

\usepackage{amsfonts}
\graphicspath{ {/home/user} }
\usetheme{Warsaw} %Marburg %Goettingen
\usecolortheme{sidebartab}
\useinnertheme{rounded}



\logo{%
    \makebox[0.96\paperwidth]{%
    \includegraphics[width=1cm,keepaspectratio]{wbsu}%
    \hfill{}%
    \includegraphics[width=1cm,keepaspectratio]{test}\hspace{0.05\textwidth}%
}%
}

\begin{document}
\begin{frame}
\frametitle{This is frame title}
\framesubtitle{sample slide for showing logo command}
    This is where something to be written.
\end{frame}
\end{document}

Best Answer

Instead or redefining the footline template, you can simply add the logos using \addtobeamertemplate:

\documentclass[12pt]{beamer} 

\usetheme{Marburg}
\usecolortheme{sidebartab}
\useinnertheme{rounded}

\addtobeamertemplate{footline}{}{%
\makebox[\paperwidth]{%
    \hspace{0.04\textwidth}\raisebox{2ex}[0pt][0pt]{\includegraphics[width=1cm,keepaspectratio]{example-image-a}}%
    \hfill{}%
    \raisebox{2ex}[0pt][0pt]{\includegraphics[width=1cm,keepaspectratio]{example-image-b}}\hspace{0.04\textwidth}%
}%
}

\begin{document}

\begin{frame}
\frametitle{This is the frame title}
\framesubtitle{Sample slide for showing the logo}
Some test text.
\end{frame}

\end{document}

The result:

enter image description here

Related Question