# break down section and subsection as only section on the header on the beamer

How can we break down section and subsection as only section on the header on the beamer?

For example,

AA is from section and DATA is from subsection.

\section{AA}
\subsection{DATA}

Is it possible that 'AA DATA' appear on the center only using section?

\section{AA DATA}

Thank you,

-
I don't understand your question. Could you please elaborate a little more? – Gonzalo Medina Feb 18 '14 at 3:27
I am sorry but this is still not clear: "appear on the center only using section". Do you want all the headline to have just one color? – Gonzalo Medina Feb 18 '14 at 3:47
Hi, Gonzalo: Thank you so much for this answer. It works for me. – user46377 Feb 18 '14 at 4:28

I am not sure if this is what you want:

\documentclass[compress]{beamer}
\usetheme{AnnArbor}

\makeatletter
{
\leavevmode%
\hbox{%
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother

\author{The Author}
\title{The Title}
\institute{The Institute}

\begin{document}

\section{AA DATA}
\begin{frame}
test
\end{frame}

\end{document}

I redefined the headline template to use just one beamercolorbox of width given by \paperwidth and containing just the name of the current section, centered.

-