I've got this code to the example:



    \section{First and only part}
        \frametitle{Frame title}

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.


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.