# Removing logo on headline and add subsections after the Outline slide

I made a custom latex beamer theme with my University's logo and title on header (top right) and sections (top left). I want to change the the header's settings by including the subsections at the top right section and removing the logo and the university's title. Is this possible?

• Welcome to TeX.Stackexchange! If you would tell is how you made your custom theme, we might be able to tell you how to change it. Right now it would require a crystal ball to answer your question. Dec 1 '17 at 12:04
• drive.google.com/open?id=1e9pyJ77WrxSAHY8PXcAk0zvmmRFUvvev Sorry about my sloppy code. Dec 1 '17 at 12:36
• Could you include the code of your original headline definition in your questions, so it will be still useful for future users in case the linked file vanished? Dec 1 '17 at 13:40

You could create a new headline definition as following:

\defbeamertemplate*{headline}{magda theme}{%
\leavevmode%
\@tempdimb=2.4375ex%
\multiply\@tempdimb by\beamer@sectionmax%
\pgfdeclareimage[height=.9\@tempdimb]{logo}{tuc_logo_3}%
\logo{\pgfuseimage{logo}}%
\ifdim\@tempdimb>0pt%
\end{beamercolorbox}%
\end{beamercolorbox}%
%      \vbox to\@tempdimb{\vfil\vfil\textbf{\footnotesize\insertshortinstitute~~}\vfil}%
%    \end{beamercolorbox}%
%      \vbox to\@tempdimb{\vfil\insertlogo\vfil\vfil}%
%    \end{beamercolorbox}%
\fi%
}


\documentclass{beamer}

\usepackage{tuc}

\begin{document}

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

\begin{frame}
\frametitle{Outline}
\tableofcontents[hideallsubsections]
\end{frame}