Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default help with header image links are floating over logo

    Hello! I just upgraded from 1.3.8 to 1.3.9e and a lot of my customisations are off...

    My store is currently some kind of hybrid between the classic template and my custom template:
    http://pocketcarnival.com.au/store/

    The header image links seem to be floating over the logo in the branding display. It's probably a problem with the logo? because I can't get it to center either... but I just want to know how to unfloat the header image links without using a whole bunch of <BR> tags!

    Thanks in advance :)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: help with header image links are floating over logo

    Do you have a custom tpl_header.php file?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: help with header image links are floating over logo

    Yes I do, in store/includes/templates/custom/common

    The order is branding display, header image links, logo & navigation display.

    I just whacked in a center tag:
    <!--bof-branding display-->
    <center>

    which has centered the logo (yay!) but i can't figure out the floating.

    this is the code in my custom tpl header for the logo...

    <!--bof-branding display-->
    <center>
    <div id="logoWrapper">
    <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>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <center>
    <?php
    }
    ?>
    <?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
    }
    }
    ?>
    </div>
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: help with header image links are floating over logo

    That can not be all of it

    Where is this
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?php } } ?>
    
    <?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>
    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Now a banner over my logo image PLEASE HELP!
    By noodles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Oct 2010, 11:22 PM
  2. links in header are floating up behind a banner
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Jul 2010, 03:19 AM
  3. Help with header (moving links below logo)
    By Keezee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jun 2010, 09:25 PM
  4. Script for floating the large image over smaller images on product info page
    By sjk1000 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Mar 2010, 10:17 PM
  5. Help, please. Logo over header
    By kachinas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Jun 2009, 06:16 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