unaligned mainbody

hexag - October 14, 2008 - 10:53

Hey,

Got drupify template installed & was playing with the menu block regions so the nicemenus fits nicely in the green header bar, but after I got that done, the content seemed to want to avoid the mainbody section, like such...

The code changes were in template.php (defining the new range) & page.tpl.php, fitting the code into the later like thus:

      <div id="horiz-menu">
->    <div id="green_header">
->     <?php print $green_header ?>
->    </div>
        <div id="navigation" class="menu <?php if ($primary_links) { print "withprimary"; } if ($secondary_links) { print " withsecondary"; } ?> ">
            <?php if ($primary_links): ?>
              <div id="primary" class="clear-block">
                <?php print theme('menu_links', $primary_links); ?>
              </div>

I'm off to make something prettier, thanks for the help!

Cheers,

Nick,

Sorry, missed the graphic

hexag - October 14, 2008 - 10:54
 
 

Drupal is a registered trademark of Dries Buytaert.