1

I've got this code to the example:

\documentclass[10pt]{beamer}

    \usepackage[brazil]{babel}
    \usepackage[utf8]{inputenc}
    \usetheme{default}
    \usecolortheme{crane}
    
    \hypersetup{pdfpagemode=FullScreen}
    \title{\textbf{Title}}
    \subtitle{Subtitle}
    \author{Author}
    \date{date}

\begin{document}
    \begin{frame}
        \titlepage
    \end{frame}
    
    \section{First and only part}
    
    \begin{frame}
        \frametitle{Frame title}
        Text.
    \end{frame}
\end{document}

Which gives:

enter image description here

enter image description here

What I want to do is to change the background color in titles from yellow to black, and the text color from black to white (so it can actually be visible).

Also, how to center the title of all frames in it? (The title in frame/image 2 is all to left, I want to center it and for all the other frames.) Thanks in advance.

2

For the color, add the line

\setbeamercolor{palette quaternary}{fg=white,bg=black}

before \begin{document}

And according to this question, adding \setbeamertemplate{frametitle}[default][center] also before \begin{document} centers all frametitles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.