When a Primary menu item with children is created, the submenu isn't shown properly. It works in all other themes but this. When I click on Primary menu link, IE 7 don't display the submenu at all, Opera displays it with mistakes.

Comments

linguaetc’s picture

I also have problems with the Secondary menu. I found that the secondary links show as a separate menu bar below the primary bar. However, in both IE and Firefox this bar is being hidden by the main background. If you comment out line 192 in style.css the secondary bar will show.

Unfortunately, even with the secondary bar showing, there are some other issues:

1. The secondary menu bar only goes to the right side bar and not across the whole page like the primary menu bar; and

2. Nothing happens in IE if you click on a link in the secondary bar. (it works OK in Firefox).

linguaetc’s picture

Oops I forgot to mention to in the previous post that I added code in style.css at line 252 and 253 for the menu-bg.png (the green menu bar to show with the Secondary links). I have enclosed a copy of the style.css which will allow you to see what I did. (If you copy this into your directory to test, please remember to backup the original style.css)

matt v.’s picture

Status: Active » Fixed

Thanks for pointing out the issue with the secondary menus. I hadn't fully taken the secondary menus into account. I just committed an update to the Drupal 5 dev release that addresses the issue.

Since the design doesn't really have a specific place for the secondary menu, I moved it to the top of the sidebar. If a secondary menu is configured, it will appear above any sidebar blocks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

hvalentim’s picture

Status: Active » Closed (fixed)
StatusFileSize
new5.03 KB

Actually I am using Drupal 6.4 (and 6.x-1.x-dev) and I am still unable to add secondary links (?)

Correction: I am able to add them, but they show up with white letters and background (and thus are not seen).

matt v.’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Closed (fixed) » Active

I'm changing the status back to active. I'll take a look into it.

hvalentim’s picture

Status: Closed (fixed) » Active
StatusFileSize
new4.59 KB

Actually, one tested working solution seems to be to apply the <div id="horiz-menu"> (and corresponding green background) to the secondary links menu in page.tpl.php:

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

Result: attached pic.

I guess one can also create a custom div.

hvalentim’s picture

PS: The drawback of the previous is that it permanently adds a green bar, even if there are no "secondary links"

matt v.’s picture

Status: Active » Fixed

I fixed the secondary menus issue for the D6 version, in issue #333438: Secondary menu is white/white.

Status: Fixed » Closed (fixed)

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