New Zenner
- Join Date:
- Jul 2008
- Posts:
- 9
- Plugin Contributions:
- 0
Trying to add header links without breaking my layout
My URL is: https://www.jujudeals.com
I am currently trying to add new links to my header. When I originally installed the new template there were 3 links (languages, currency, and shopping cart).
I want to add a forth and possibly even a 5th and 6th link. But whenever I add a new link (lets say another languages link), it indents a space a screws my whole design. How do I add new links on the header so they appear in a straight line without indenting??
coding in tpl_header.php is:
<div id="headerWrapper"> <div id="topBarWrap"> <div id="topBar"> <?php require(DIR_WS_MODULES . 'sideboxes/languages_header.php'); ?> <?php require(DIR_WS_MODULES . 'sideboxes/languages_header.php'); ?> <?php require(DIR_WS_MODULES . 'sideboxes/currencies_header.php'); ?> <div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div> <br class="clearBoth" /></div> </div> <div id="logoWrap"> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <div id="topLinks"> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); } ?> </div><br class="clearBoth" /> </div> </div>