Closed (works as designed)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Plugins - styles
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2011 at 20:08 UTC
Updated:
21 Dec 2012 at 01:40 UTC
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
Comment #1
merlinofchaos commentedThis 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.
Comment #2
likewhoa commentedThis is using the default drupal 7 theme bartik which doesn't include a block.tpl.php by default.
Comment #3
merlinofchaos commentedblock.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.
Comment #4
nikkubhai commentedso what's the solution for it?
Comment #5
keiths commentedThis 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.