If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Red "x" on the header for all pages. HELP!

Red "x" on the header for all pages. HELP!

Locked

Started by missinglife on 8 Nov 2009, 8:41 PM · Views: 596

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Nov 2009, 8:41 PM
#1
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Red "x" on the header for all pages. HELP!

Hello all,

this is very strange. I use Chrome to view my web page when I making any changes to my web site. I never see this RED "X" on the store header on my own system, but if I view my website on different systems, I will see the RED "X". I could not find out what I did wrong.

any help from you would be great!
Thank for your time!

here is my site: http://the4thmuse.com

8 Nov 2009, 8:47 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Red "x" on the header for all pages. HELP!

There is an image that is not being found by the browser. Different browsers deal with this differently. IE will give you a red x.

You need to find the reference to the image. I suspect it is the logo and remove it.

Yes, the logo. In the souce code it is showing as :

<a href="http://the4thmuse.com/"><img src="includes/templates/sweet_angel/images/" alt="" /></a>

Nick
iszent.com

8 Nov 2009, 8:53 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Red "x" on the header for all pages. HELP!

You are setting your full logo as the background image in your stylesheet.

	background-image: url(../images/0001.png);

But tpl_header.php is looking for the logo (gif or jpg ... whatever you specified in the language defines in header.php) ... It looks like you have simply left this empty:

  define('HEADER_LOGO_IMAGE', '');

So your HTML page source looks like this:

<!--bof-header logo and navigation display-->

<div id="headerWrapper">
<!--bof-branding display-->
<div id="logoWrapper">
    <div id="logo"><a href="http://the4thmuse.com/"><img src="includes/templates/sweet_angel/images/" alt="" /></a></div>

</div>

In other words, it is looking for an image that simply isn't there - not only as an actual image file, but also as a reference in the PHP.

Either conform to the logo_wrapper conventions in zc (make your current background image your logo image), or edit tpl_header.php to remove the line calling for logo.gif .

20 years a Zencart User

8 Nov 2009, 9:09 PM
#4
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Re: Red "x" on the header for all pages. HELP!

Thank you for all your help!!!
I am trying to fix it now, will let you know how it goes. :D

8 Nov 2009, 9:15 PM
#5
missinglife avatar

missinglife

Zen Follower

Join Date:
Apr 2009
Location:
Portland, OR
Posts:
104
Plugin Contributions:
0

Re: Red "x" on the header for all pages. HELP!

Thank you! Thank you! Thank you! Thank you all!

it did fixed for me by modified my header.php.