After a customer has logged in, does this menu bar then show additional links like: logout, checkout, shopping basket ...?
(Check tpl_header.php to see what is set for these...)
If these functions (displaying the additional links) are ACTIVE, then your marquee will "contract" and "expand"... possibly making it look very silly.
The best way to do this is to:
1. Set up a <div> just after the following (if you have it) in tpl_header.php :
PHP Code:
<?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 }?>
The <div> you add could look like:
PHP Code:
<div id="marquee"><?php echo HEADER_MARQUEE;?></div>
Then you will need to create a DEFINE for HEADER_MARQUEE and put it somewhere in your english.php file (the main language file)
PHP Code:
// marquee text on main page
define('HEADER_MARQUEE', '<marquee>YOUR MARQUEE DATA HERE</marquee>');
PS: I hate "marquees"... they are distracting and visually very irritating - but that's just my opinion...
Bookmarks