User login

How to configure nice menus

Installing and configuring Nice Menus: http://drupal.org/project/nice_menus

Download or drush or otherwise acquire and get it into sites/all/modules. Enable at http://example.com/admin/build/modules and no configuration is even necessary.

Assuming you want nice drop-downs on your primary links, create a page or make sure you assign an existing page to Primary Links in admin/build/menu. Then create another page or assign another page in admin/build/menu to not Primary Links directly, but the previous page/menu item you created under Primary Links.

Then you have to replace the

<?php
 print $primary_links
?>

call with this:

Primary links as nice menus
http://drupal.org/node/186684

Note: Nice menus can conflict with Zen, or at least Zen fixed, where it sets overflow to hidden for the navigation menus (#navbar). So you have to remove that visiblity: hidden from your theme or override it with #navbar { visibility: always or something }

Reportback to:

An easy How-To for "Primary Links with Nice_Menus" ?
http://drupal.org/node/130540

Resolution

Comments

Fixed a solution with fluid Zen

I'm using fluid Zen with nice_menus and couldn't figure out why drop down menu items were appearing beneath #content. This post pointed me in the right direction. I set overflow: visible in #navbar and it worked. Thanks!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.