Using latest D7 -dev while setting the style of a panel content to "System block" it doesn't apply and the block just looks plain and doesn't take on the system block style that comes with adding the block outside of panels.

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

This may well depend upon the theme you're using. Many themes restrict block styling to their theme layout sidebars, which means the CSS won't match up in Panels.

Check the HTML. Is it rendered using block.tpl.php? If so, then it is a problem with the theme.

likewhoa’s picture

Status: Postponed (maintainer needs more info) » Active

This is using the default drupal 7 theme bartik which doesn't include a block.tpl.php by default.

merlinofchaos’s picture

Status: Active » Closed (works as designed)
Issue tags: -tabs panel style

block.tpl.php is provided by core. If it has a class="block" in it, then it's rendered through the block theming, and that's all I can do.

bartik's CSS is guilty of the problem that I've mentioned. It only provides block styling in the 'sidebar' divs.

nikkubhai’s picture

so what's the solution for it?

keiths’s picture

This is old but I'm looking for this answer too. I would like to rename user menu to the user's name however I am using the Bartik theme.