# Beamer: logo above the slide title [closed]

I'm making my own beamer template in LyX. On every slide, I want to place a logo and a horizontal line above the slide title. Also, I would like the line to be black.

In the LaTeX preamble I have the following:

\usepackage{textpos} % package for the positioning
\begin{textblock*}{500mm}(-0.8cm,-0.8cm)
\includegraphics[height=0.7cm]{Chalmers_black.eps}
\line(1,0){450}
\end{textblock*}}

% For footer
\defbeamertemplate*{footline}{infolines theme}
{
\leavevmode%
\hbox{%
\end{beamercolorbox}
\usebeamerfont{title in head/foot}My footer line 1\vspace{0.05cm} \newline \vspace{0.1cm}My footer line 2
\end{beamercolorbox}}
\vskip0pt
}


This results the following slide, where the title overlaps with the logo and the horizontal line is also incorrectly placed.

How should I edit the preamble in order to have the desired output, i.e.

logo
horizontal line (in black)
title


## closed as unclear what you're asking by Gonzalo Medina, Joseph Wright♦Nov 1 '14 at 23:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to TeX.SX! Please make your code compilable, starting with \documentclass{...} and ending with \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to help you. Help them help you: remove that one hurdle between you and a solution to your problem. – jub0bs Dec 1 '13 at 13:49