The Panels module is all about ease of use and full control over elements shown on a page. That's why I think it would logic for an admin to be able to apply a specific CSS class/ID to a specific panel title from WITHIN the UI - thus not having to hack the panel-pane.tpl.php and having to remember the settings for when the module is updated to a new version.

Any plans on this?

Comments

Letharion’s picture

Status: Active » Fixed

This as available on title the same as on all other panes as far as I'm aware?
Also, don't hack the template. Copy it to your theme.

thomas1977’s picture

@ Letharion

Thanks for your answer. If I go to the settings of a pane and click "Override title" and give it a title, I'm not sure how a css class can be applied to that specific title? I can go to the css settings of the pane, but the those classes only apply to the content, not the title. What I want specifically is to apply different css classes to different pane titles...

Letharion’s picture

Status: Fixed » Active

You're right, I'm wrong. I was thinking "node"-title, not pane title. This sounds like a useful feature request. Could probably be another setting under css.

djh007’s picture

+1 :)

thomas1977’s picture

Any news on this one? This would come in handy in a project I'm doing :-) Just need to wrap the pane title in a css class.

thomas1977’s picture

Issue summary: View changes

Still nothing? It seems like such an obvious feature - being able to apply a css class to a pane title.