I like to use panels, however panels is a pain in the butt to style because of the massive amount of div's it generates. Also the classes it applies to those divs make no sense and are way too bulky as well. Causing confusion among my fellow front-enders.
To show you the output they generate:
The problem is that i'm using 960.gs and panels adds their own classes and bulky div structure, making me have to override their classes. This is something i don't want to do, i want to clean up the divs. Is there any way to do this?
What i did to clean up some div's that i considered useless:
Starting from line #388 in flexible.inc (panels/plugins/layouts/flexible)
$output = ''; //$output = "<div class=\"panel-flexible " . $renderer->base['canvas'] . " clearfix\" $renderer->id_str>\n"; // $output .= "<div class=\"panel-flexible-inside " . $renderer->base['canvas'] . "-inside\">\n"; $output .= panels_flexible_render_items($renderer, $settings['items']['canvas']['children'], $renderer->base['canvas']); // Wrap the whole thing up nice and snug //$output .= "</div>\n</div>\n";
I actually made a copy of the flexible layout and edited that one, but if i had more time on this project, i would create a cleaner plugin for this.
Note: This isn't the best solution, this was the fastest possible route to accomplish my goal. Creating you're own small plugin is the best way to go, you can always use one of the existing plugins as a base.