sbonge:
I have read until my eyes are falling out. Sorry if this is already posted, but I appreciate you help.
I am wanting to see if I can add ONE other link on the right of my "shopping cart" link. I am wanting a link to my forum.
My website is www.bongeenterprises.com
My forum is www.bongeenterprises.com/forum
Thanks
Scott
Sure, you could do that easily, add this:
<li><a href="http://bongeenterprises.com/forum">Forum</a></li>
after:```
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
<ul class="level2">
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
</ul>
</li>
<?php } else { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<?php } ?>
Then, now that your menu is longer, you'll need to change the width of the items to percentages so that it doesn't break into two lines in some browsers:
So, first, you need to change div#dropMenu li to this:
div#dropMenu li {
position: relative;
list-style: none;
margin: 0;
float: left;
line-height: 1em;
width:14.28%;
}
Then change div#dropMenu li a to this:
div#dropMenu li a {display: block; padding: .6em 0 .6em 0;text-decoration: none; text-transform:uppercase; color:#005f00; text-align:center; border-right:1px solid #005f00; border-left:1px solid #005f00;}
Then change div#dropMenu ul.level2 to this:
div#dropMenu ul.level2 {top: 2.17em; background:#FFFFFF;z-index:1000;left:0;}