Line 151 in Zen's page.tpl.php has a php if statement right in the middle of a class reference. That doesn't make any sense, does it?

Comments

kdebaas’s picture

Status: Active » Closed (works as designed)

The if statement adds a navbar class to the div, depending on whether Primary links, or Secondary links, or a navbar is present. These are objects whose presence can be toggled on the theme settings page. In layout.css the with-navbar class adds an extra margin to your content and sidebar divs, to accomodate for these objects. This extra space is not needed, of course, when they aren't present.

bryrock’s picture

Thanks. I just saw this (didn't realize the "by design" status hides issues from "My Issues"), but, yes, I'd finally figured that out after I'd added this issue. I felt kinda silly.