Panels automatically adds the following markup:

<div class="panel-separator"></div>

after each panel pane. This markup is not really necessary and I always find myself removing it. I'll attach a simple patch to zen's template.php that will remove this.

Comments

gleroux02’s picture

StatusFileSize
new485 bytes

Here is the patch.

n8tron’s picture

StatusFileSize
new1.87 KB

To extend the zen panels functionality, if you want: sidebar body classes with layout body class. Nifty.

n8tron’s picture

To extend the zen panels functionality, if you want: position classes on panes and sidebar pane classes. Less CSS, less mess.

JohnAlbin’s picture

Status:Active» Needs review

Geez, Nate. Issue hijack much? ;-)

n8tron’s picture

Well, while we're at it, lets get more panels functionality into Zen! It was a practical endeavor.

JohnAlbin’s picture

Status:Needs review» Fixed

I've committed Greg's patch. Thanks!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

MiniEggs’s picture

Category:feature» support
Status:Closed (fixed)» Active

Sorry to necro this.
From the dates involved, I'm guessing the patch to remove the extraneous Panels separator divs hasn't made it into the stable release of Zen yet?

Do I just need to add the patch function to the end of my theme's template.php? Is this the current recommended solution or has it been superseded or found to cause problems?

Thanks

echoz’s picture

Status:Active» Fixed

@MiniEggs correct, that patch is in the dev version, and I recommend using the dev version at this point.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.