Closed (works as designed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2009 at 22:09 UTC
Updated:
8 Sep 2009 at 18:06 UTC
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
Comment #1
kdebaas commentedThe 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.
Comment #2
bryrock commentedThanks. 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.