With the basic panels pane HTML you get a div like
<div class="panel-pane">
...pane html...
</div>
This is not unique enough to attach css to. More descriptive css classes would speed up theme development of a panels site.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | panels-618624-3.patch | 1.1 KB | jonskulski |
| #1 | panels-618624.patch | 1.72 KB | jonskulski |
Comments
Comment #1
jonskulski commentedWe usually end up overriding the theme function to add specific classes. With the new template this is much much easier (which is woderful, btw).
We do this enough to warrant a patch. The code takes the subtype and type of the panel and turns them into css classes.
Comment #2
merlinofchaos commentedMaybe consider using the cleanstring tool to create class-safe rather than the simple _ to - conversion?
Comment #3
jonskulski commentedRerolled using the ctool function
Comment #4
merlinofchaos commentedCommitted! THanks for the patch (and the patience)
Comment #5
jonskulski commentedHey no worries, thanks for panels ;)