Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have too many divs in D7. The contents of a block don't need 2 divs around it. :-p
Let's remove the <div class="content">
from around $content.
Comments
Comment #1
JohnAlbinFixed. http://drupalcode.org/project/zen.git/commitdiff/0db75c6
Comment #2
JohnAlbinComment #4
dakku CreditAttribution: dakku commentedRemoving inner content div does not make any sense at all.
It was convenient to add padding to inner container div whilst keeping the H2 without padding.
Seems like a step back to me.
Comment #5
echoz CreditAttribution: echoz commentedThis wasn't an inner div, it was a wrapping div. Also switching to box-sizing: border-box; #1348258: Add box-sizing: border-box to the Zen Columns layout method helped your issue, and you can always add your own markup to tpls.