Hey everyone,

It seems like I've some troubles with the navigation menu and the breadcrumb thing.
These two features are one on the other like in the screenshot, the only thing I can do is to remove the following code in page.tpl.php : (there is a second screenshot with the following code removed)

<?php if ($main_menu || $secondary_menu): ?>
      <div id="navigation" class="menu <?php if (!empty($main_menu)) {print "with-primary";} if (!empty($secondary_menu)) {print " with-secondary";} ?>">
        <?php print theme('links', array('links' => $main_menu, 'attributes' => array('id' => 'primary', 'class' => array('links', 'clearfix', 'main-menu')))); ?>
        <?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary', 'class' => array('links', 'clearfix', 'sub-menu')))); ?>
      </div>
    <?php endif; ?>

I'm not saying this is a bug or whatever, but I'm missing something on that point and I can't find the reason of this.

Any help would be appreciate ! (:

Thanks !

Files: 
CommentFileSizeAuthor
without_nav.png20.4 KBgnowar
with_nav.png22 KBgnowar

Comments

@gnowar, I think this is to do with the css, not the php code in the template.

Status:Active» Closed (fixed)

Humm that's what I thought but I could'nt find the solution.
Now I set the #navigation height to 40px and I added a margin-top of 40px to #content.

It works fine but it's strange to have this issue when you start from a clean theme, isn't it ?

Thank you btw !

There have been quite a few people having issues with the negative margin stuff, hence the reason it will be gone in the new 3.x branch that we have recently began development on. :)

Ok, thank you for the reply !