# Limit content width in Beamer

I'm using Beamer (Madrid theme) with a logo added to the right lower corner of each frame using the following:

\addtobeamertemplate{frametitle}{}{
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=south east, yshift=.5cm] at (current page.south east) {\includegraphics[height=3cm]
{logo.png}};
\end{tikzpicture}}


Now text overlaps with the logo. Is there a way to control the width of slide content accordingly or automatically hide the logo when overflow happens?

• You could increase the right margin using \geometry. – leandriis Oct 7 '19 at 5:20