
Originally Posted by
jettrue
1. Open up includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php and remove the "class="submenu" from top-level items without sub items. So the contact us link would change to this:
<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>
2. Add this to the header_menu css file:
div#dropMenu li.submenu li.submenu {background: none;}
OR, you could use the image attached to have arrows pointing right to designate further subcategories, with this css:
div#dropMenu li.submenu li.submenu {background: url(../images/submenu.gif) 95% 50% no-repeat;}
Much better!
The only thing it doesn't seem to work with is the conditional menu items like the following:
Code:
<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<ul class="level2">
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
</ul>
<?php }?>
</li>
Even if there are no items in the cart, the down arrow still displays in the top Shopping Cart link.
Other than that, this menu is totally great
Thanks super much