# Positioning content at the top of a beamer slide (by default)

When I create beamer frame, the content is centred in the slide. How do I make the content move to the top of the slide by default?

-
– Hendrik Vogt Jan 29 '11 at 13:59
Awwesome question. I always put a [t] on my frames without thinking there might be a global option. Thanks for bringing this up. – recluze Jan 18 '12 at 2:17

You could specify vertical top alignment globally by the t class option:

\documentclass[t]{beamer}


For single frames you could use the same option locally:

\begin{frame}[t]
...
\end{frame}

-
Question: I'm using a template with the following preamble: "\documentclass[t]{beamer} %\usetheme{Warsaw} \usetheme{Boadilla} % or ... \usecolortheme{orchid} \setbeamertemplate{footline}[text line]{} " and when I'm adding \document"class[t]{beamer} and compiling, it says "\documentclass[t]{ beamer} The document may only declare one class. ". What have I done wrong? EDIT: I'm working in LyX. – Pandora Jan 5 at 11:51
@Pandora Go to Document -> Settings -> Document Class, there choose beamer, and add t as class option, that single letter. – Stefan Kottwitz Jan 5 at 13:25
Great, thank you very much! – Pandora Jan 5 at 14:36
Note: if the frame has a title, place the [t] before it: \begin{frame}[t]{My Frame Title} – jadhachem Jun 14 at 15:24