Panels have a bad rep for using waaay to many divs & classes - lets help it out with working out some defaults that we would like

+ options for removing classes
+ templates

CommentFileSizeAuthor
#4 mothership-1546754-panels-pane.patch2.72 KBanthonyR

Comments

anthonyR’s picture

I want to chime in to clean up this mess. I've done some stuff like this in my own starting point sub for mothership.

mortendk’s picture

cool any code / tpl files to share so we can begin on hammering this down :)

anthonyR’s picture

It could be handy to check out what we actually want for panels inside mothership. First things I can think of are:

  • Provide sane markup templates for the default panel templates and panel panes (remove clearfix, .inside markup, .panel-separator crap,...)
  • Provide options to remove different classes and wrappers through theme settings. Like it's done for views.

Any opinions on this, or stuff that you want to see added?

anthonyR’s picture

StatusFileSize
new2.72 KB

First tiny step: added an option in theme settings to remove panel-pane wrapper markup.
The value that gets set there can easily be overwritten in the subtheme to add the markup, if people only want it for specific panes f.e.

mortendk’s picture

Status: Active » Closed (fixed)

the option & a templates is now added in - closing this request :)