I have "Source for the secondary links" set to "Primary links" so the secondary menu should show the children of the active primary link. But this doesn't work in Zen: the whole primary links menu are shown as if they don't have nesting. This works perfectly if I switch to Garland.

Not sure if these are related:

#448940: secondary menu item does not show up
#291132: expandable primary and secondary links

Comments

I see the primary and secondary menu are actually working, just that they go on the same line.

Now I need to figure out how to move the secondary links to its own line.

Why do they go on the same line?

line 215 of layout.css

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    float: left;
    padding: 0 10px 0 0;
  }

this is making the primary links and secondary links run together in one line. I added class="clear-block" to the primary link div in page.tpl.php to fix it:

          <?php if ($primary_links): ?>
            <div id="primary" class="clear-block">
              <?php print theme('links', $primary_links, array('class' => 'links primary-links')); ?>
            </div> <!-- /#primary -->
          <?php endif; ?>
          <?php if ($secondary_links): ?>
            <div id="secondary">
              <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')); ?>
            </div> <!-- /#secondary -->
          <?php endif; ?>

Title:Secondary menu does not work when "Source for the secondary links" is "Primary links"Secondary links run together in one line with primary links
Status:Active» Fixed

Thanks, Matt!

This has already been fixed in 6.x-2.x, but I'm fixing it in 6.x-1.x now and crediting you in the CHANGELOG. :-)

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.