Stevesh,
Worked a treat!
(Though I bumped it upto 1.5 and it centred beautifully).
I have uncovered another 'irk' in the code.
I added a new link: 'postage options' to the bar. However if I compose the code the same as the one above it (Featured Products) for example the resulting display is 'TOP_MENU_POSTAGE_OPTIONS'?
AS you can see from below I got it to work, but it displays now as Postage_Options (which works but doesn't look as neat.
What have I screwed up??
Phil
<?php
if ($current_page_base == 'featured_products') { $active = 'tab_active';
} else { $active = '';
}?>
<li class="<?php echo $active;?>"><a href="index.php?main_page=featured_products"><?php echo TOP_MENU_FEATURED_PRODUCTS;?></a></li>
<?php
if ($current_page_base == 'postage_options') { $active = 'tab_active';
} else { $active = '';
}?>
<li class="<?php echo $active;?>"><a href="index.php?main_page=index&cPath=45"><?php echo postage_options;?></a></li>


Reply With Quote
