Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Couple of things needing help

Couple of things needing help

Locked

Views: 2,929

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
28 Jun 2008, 12:27 AM
#1
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Couple of things needing help

Hi again,
I have inserted an image map using my header bg image. That works fine.

1.) How do I get rid of the Home & Log In links under the header?
(I want to keep the tile_back.gif, but get rink of the text links on it, under the header.)

2.) Since inserting the image map, when I view in IE, my header is out of alignment.

http://uniquescrapart.com/shop/

any help to fix these things would be greatly appreciated.

28 Jun 2008, 12:36 AM
#2
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

the tileback gif is also showing up above my header in IE. I need that gone.
it's not showing that in FF.

28 Jun 2008, 12:57 AM
#3
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

I tried adding this code to the bottom of my css to remove the home/login text links, but they are still there. ??

#navMain ul li {
display: none;
}
28 Jun 2008, 1:19 AM
#4
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

issue of text links being removed has been resolved.

still need help with other cosmetic problems in first two posts.

if I could get the main page content bumped up under the header, I wouldn't grieve over not having the tileback gif under my header.

but it still not looking the same in both FF & IE.

28 Jun 2008, 3:31 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,790
Plugin Contributions:
14

Re: Couple of things needing help

Could it be that you have an empty <h1> in the tagline wrapper.

Also, curious as to the outer links in the header vs eZpages. Using outside links in the header will kill sessions and empty carts.

28 Jun 2008, 3:35 AM
#6
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

I didn't find any empty <h1> tags in my css.

I wondered about the header links as well, but when I add an item to the cart not logged in, click outside link, and click back into the cart...the cart item is still there. doesn't kill the session or empty the cart. I'll double check it logged in.

28 Jun 2008, 3:53 AM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,790
Plugin Contributions:
14

Re: Couple of things needing help

It wouldn't be found in the css. In the file where you removed the tagline, you probably left the <h1> behind.

28 Jun 2008, 4:01 AM
#8
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

only files edited were css and tpl_header php. I'll double check the tpl header file

28 Jun 2008, 4:04 AM
#9
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

can't find anything there out of place either.

:frusty:

28 Jun 2008, 4:12 AM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,790
Plugin Contributions:
14

Re: Couple of things needing help

Still shows on line 34 of your page source but sometimes other things can wreak havoc in IE. Check out your site in validation. Those five errors could send IE on a wild goose chase while firefox would look okay.

28 Jun 2008, 4:20 AM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,790
Plugin Contributions:
14

Re: Couple of things needing help

Try looking at your includes/languages/english/CUSTOM/header.php around line #21 and see if you didn't leave the <h1> there. Should read -- Line #21 : define('HEADER_SALES_TEXT', '');

28 Jun 2008, 5:25 AM
#12
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

ok I'll check it. but I didn't touch/edit the file header.php today in adding the image map. Nothing was messed up before today.

28 Jun 2008, 5:33 AM
#13
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

dbltoe:

Still shows on line 34 of your page source but sometimes other things can wreak havoc in IE. Check out your site in validation. Those five errors could send IE on a wild goose chase while firefox would look okay.

ok, I'll work on those things. thank you for reminding me to validate.

28 Jun 2008, 5:55 AM
#14
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

when I validated the css, I get this...

263 #navMainWrapper Parse Error

but can't spot the error when I look at my file

#navMainWrapper, {
margin: 0em;
	background-color: #babada;
	background-image: url(../images/tile_back.gif);
	padding: 0.5em 0.2em;
	font-weight: bold;
	color: #000000;
	height: 1%;
}
28 Jun 2008, 6:04 AM
#15
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

dbltoe:

Try looking at your includes/languages/english/CUSTOM/header.php around line #21 and see if you didn't leave the <h1> there. Should read -- Line #21 : define('HEADER_SALES_TEXT', '');

you spotted that one. thank you. I fixed it.

it's still not looking the same in IE though. validation says all is okay.

what am I missing?

:frusty:

28 Jun 2008, 6:33 AM
#16
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

dbltoe:

Still shows on line 34 of your page source but sometimes other things can wreak havoc in IE. Check out your site in validation. Those five errors could send IE on a wild goose chase while firefox would look okay.

I'm not seeing what your talking about in line 34 ??

28 Jun 2008, 12:23 PM
#17
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,790
Plugin Contributions:
14

Re: Couple of things needing help

On the parse error, you have a comma after #navMainWrapper. Remove that and it should look a lot different.

You won't see the line 34 error after removing the empty <h1>

28 Jun 2008, 5:51 PM
#18
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

thank you for spotting that sparse error. two sets of eyes was very helpful.

In IE, I have the tile_back gif to where it's not showing up and it's looking much better, but there is still a space between the top header & the main body.

In FF, it looks like I want it.

29 Jun 2008, 6:02 PM
#19
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

bump. I still need help with this in IE. need the space between the header and main body removed in IE.

30 Jun 2008, 3:53 PM
#20
rkayw avatar

rkayw

New Zenner

Join Date:
Jun 2008
Posts:
32
Plugin Contributions:
0

Re: Couple of things needing help

In IE, it seems to be inserting space for the logo.gif under my header image map header graphic.

here's the tpl_header.php code.

<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>

<div id="headerWrapper">
<!--bof-navigation display-->
<div id="navMainWrapper">

<img src="http://uniquescrapart.com/shop/includes/templates/classic/images/header_usa.gif" usemap="#header_usa" alt="" style="border-style:none" />

<map id="header_usa" name="header_usa">
<area shape="rect" alt="" coords="496,113,563,137" href="http://uniquescrapart.com/shop/" title="" />
<area shape="rect" alt="" coords="567,115,637,138" href="http://uniquescrapart.com/forum/" title="" />
<area shape="rect" alt="" coords="645,114,717,139" href="http://uniquescrapart.com/gallery/" title="" />
<area shape="rect" alt="" coords="722,113,791,139" href="http://uniquescrapart.com/staff/" title="" />
<area shape="rect" alt="" coords="798,114,867,139" href="http://uniquescrapart.com/chat/" title="" />
<area shape="rect" alt="" coords="873,115,943,139" href="http://uniquescrapart.com/blog/" title="" />
<area shape="rect" alt="" coords="88,29,456,123" href="http://uniquescrapart.com/" title="" />
</map>

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

<!--bof-branding display-->
<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 != '') {
?>
      <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
              }

I have played with everything that I can think of, but still can not get the space removed in IE between my header & content body.