# Modifying block environment in beamer

I have problems modifying the block environments in the metroplis theme.

The follwing example renders as

        \documentclass[10pt,xcolor=dvipsnames]{beamer}
\usetheme{metropolis}

\begin{document}

\begin{frame}
Inhalt...

\end{frame}

\end{document}


       \setbeamercolor{block title}{fg=RoyalBlue,bg=white}


renders as

So while the background changes to white also the position of the tile seems to change which i do not want. Also I would like to add a little more space etween titel and the text underneath.

Could someone please help me. Additionaly I would also be grateful if somone could explain me how to define a block environment looking like this:

Thanks so much!

• This site works best, if you only ask one question per question. To define such a new block have a look at the tcolorbox package. – samcarter is at topanswers.xyz Oct 25 '17 at 20:08
• thank you so much. I'll keep that in mind for next time and I am going to try tcolorbox :) – CookieMaster Oct 25 '17 at 20:44

if you want to change the colours of an alert block, use \setbeamercolor{block title alerted}{...}:

\documentclass[10pt,xcolor=dvipsnames]{beamer}
\usetheme{metropolis}

bg=white,
fg=RoyalBlue
}

\begin{document}

\begin{frame}