Site Layout Differences between 4.7 and 5.7 (using Andreas09)

dia0420 - February 1, 2008 - 17:42

I upgraded from 4.7 to 5.7 over the last couple of days, and I only have one more issue to work out.

I'm using the Andreas09 theme, and I think that the problem is in there.

On my 4.7 version of the site, the gray background (the color behind the white box in the middle of the screen) seems to expand down the screen to fit the right column's blocks. This is how I like it. Upon upgrading to 5.7, the gray background now only wraps to the middle content, but not the right column blocks.

My left column navigation menu's overlap the background gray color, and my right column blocks overlap the gray color, and it looks bad.

I've checked most of the CSS and php files, and can't find what would make it act differently.

Also, is show up correctly in IE, but not Firefox.

EXAMPLES:

http://www.tobydials.com/images/leftmenu_bad.jpg

http://www.tobydials.com/images/leftmenu_good.jpg

I think I found it...

dia0420 - February 1, 2008 - 19:33

I went into the page.tpl.php file for andreas09, and moved the ending div tag () of the "id=content" div to the spot AFTER the ending div for the footer div.

I went from this..

  </div>
  <div id="footer"><?php if (strlen($footer_message) > 2) { print $footer_message . ' | '; } ?>Design by <a href="http://andreasviklund.com">Andreas Viklund</a>
  </div>

to this...

  <!--</div>-->
  <div id="footer"><?php if (strlen($footer_message) > 2) { print $footer_message . ' | '; } ?>Design by <a href="http://andreasviklund.com">Andreas Viklund</a>
  </div>
</div>

and now the content wrapper div goes all the way to the bottom of the content area, OR the right column blocks (whichever is longer).

I'm not sure why/how it was different from the 4.7 version.

 
 

Drupal is a registered trademark of Dries Buytaert.