Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    9
    Plugin Contributions
    0

    Default Trying to add header links without breaking my layout

    My URL is: 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>

  2. #2
    Join Date
    Jul 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Header Links

    bump...

 

 

Similar Threads

  1. v154 Responsive template and need spaces without breaking it
    By DarkAngel in forum General Questions
    Replies: 4
    Last Post: 4 Jul 2015, 01:12 PM
  2. v139h Help trying to get links into Header Bar
    By esugrue in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Nov 2012, 02:27 PM
  3. Trying To Match (Style + Layout) EZ Page Header + Footer...
    By some name not taken in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Oct 2008, 02:14 AM
  4. How to add links to header bar without ez-pages
    By lextechs in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 28 Oct 2007, 11:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg