I'm trying to modify a Beamer template in order to have at the same time: 1) rounded boxes 2) shadows around the box 3) a defined line (without shading) between block title and block body (as in innertheme default)

First two points are easy (\useinnertheme[shadow=true]{rounded}), does anybody know how to solve the third problem?



2 Answers 2


Something like this?



% Disable shading between block title and block content
\pgfdeclareverticalshading[lower.bg,upper.bg]{bmb@transition}{200cm}{color(0pt)=(lower.bg); color(4pt)=(lower.bg); color(4pt)=(upper.bg)}


  \begin{block}{Title without shading}
  Block stuff, and shadow is still shaded!


enter image description here

  • @ricky13: Is this what you have been looking for? Otherwise, could you please provide more details on what you try to achieve?
    – Daniel
    Commented Jul 5, 2012 at 20:27
  • Thanks, this was helpful. Could you explain a little what that command actually does. And any pitfalls of putting it into a custom theme file.
    – ste_kwr
    Commented Jun 5, 2013 at 21:26

Try this:

\addtobeamertemplate{block begin}{}{%
   {\usebeamercolor[fg]{block title}{\rule{\textwidth}{0.4pt}}}

You must log in to answer this question.