The left sidebar on a Zen-based site I'm working on has a large bottom margin that's forcing the page footer approximately 70 pixels downwards. I checked the css files but I can't find what might be causing the problem.

See the attached screenshot. I used the Firefox DOM Inspector to highlight the left sidebar to show that this is the section that's causing the problem. There's an empty white section below the search form that shouldn't be there.

This problem happens with both the zen and zen-fixed themes on version 5.x-0.6 as well as the latest CVS (as of Feb 18).

Thanks for the great theme.

CommentFileSizeAuthor
screenshot_14.jpg146.24 KBplhosk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JohnAlbin’s picture

Title: Sidebar has unwanted ~70px bottom margin » Sidebar has unwanted 5em bottom margin
Status: Active » Fixed

It’s caused by this declaration in layout.css:

#container .sidebar {
  margin: 0 0 5em;
}

A 5em bottom margin is crazy to begin with. And to add to this IE6 mistakenly being applies the 5em margin below the #main content as well.

I’ve changed this to margin: 0; in 5.x-1.x-dev.

Anonymous’s picture

Status: Fixed » Closed (fixed)