
Originally Posted by
gsdcypher
Hi Jade,
Yeah the more I hack away at the code, the more I mess it up.
But wait... are you referring to two different files? This code is in the tpl_ezpages_bar_header.php:
Code:
<!--bof-view cart and checkout now links-->
<div id="ezLinks">
<ul class="back">
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>|
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<!--eof-view cart and checkout now links-->
Thanks!
Sorry, I got confused with your ezpage links. Ignore my second section of code.
Try changing the above section to this:
Code:
<!--bof-view cart and checkout now links-->
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<div id="ezLinks">
<ul class="forward">
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>|
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
</ul>
</div>
<?php }?>
<!--eof-view cart and checkout now links-->
And don't forget to add this to your css:
#ezLinks ul li {display:inline;}
I would use the <li>, the above should keep it from showing dots.
Bookmarks