Forums / Templates, Stylesheets, Page Layout / help with header image links are floating over logo

help with header image links are floating over logo

Locked

Views: 639

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Aug 2010, 1:24 AM
#1
pocketpenny avatar

pocketpenny

New Zenner

Join Date:
Aug 2010
Posts:
10
Plugin Contributions:
0

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 :)

8 Aug 2010, 2:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with header image links are floating over logo

Do you have a custom tpl_header.php file?

Zen-Venom Get Bitten

8 Aug 2010, 6:04 AM
#3
pocketpenny avatar

pocketpenny

New Zenner

Join Date:
Aug 2010
Posts:
10
Plugin Contributions:
0

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-->
8 Aug 2010, 6:38 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with header image links are floating over logo

That can not be all of it

Where is this

<!--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