Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Strange thing happening to my Header Background !

Strange thing happening to my Header Background !

Locked

Views: 1,593

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Oct 2006, 2:57 PM
#1
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Strange thing happening to my Header Background !

I'm getting something strange happening with my header background.
I've set it to be a blue(ish) colour.
This seems to work ok...

However, when I scroll down my page so that the header is no longer visible, and then back up - the background has changed to WHITE !! :cry:

Any chance someone could check this out and provide a possible cause?

The site is at :

http://www.a1-media.co.uk/store/

Much thanks....Jaz

5 Oct 2006, 1:35 AM
#2
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Strange thing happening to my Header Background !

Not so strange really.

Firstly, validate your code;
http://jigsaw.w3.org/css-validator/
http://validator.w3.org/

Secondly, this isn't due to a "regular" kind of oversight. I see you've hacked up the tpl_header.php file. I hope you have the backup...

5 Oct 2006, 2:05 AM
#3
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Re: Strange thing happening to my Header Background !

Erm ok.
I do have the backup, but Im still not sure what's wrong with my header file.
Any chance you could explain further why this is happening?

Cheers...Jaz

24 Dec 2006, 1:24 PM
#4
nawork avatar

nawork

New Zenner

Join Date:
Aug 2004
Posts:
5
Plugin Contributions:
0

Re: Strange thing happening to my Header Background !

I am having the same problem with v1.36.
I have created a custom folder in includes/templates and created sub folders
css
images
I have put my background image in the image folder using header_bg.jpg
I copied the css from the template_default.

Using Admin>>Tools>>Template Selection
and then reset Layout Box Controller
All okay except that the fixed width has gone, and no header background.

I have read MANY threads and have used templates in earlier versions.

Any ideas?

25 Dec 2006, 3:04 AM
#5
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Strange thing happening to my Header Background !

You are better off setting up a new template in your templates folder and leaving your default template alone. One of the reasons outside the obvious (hack and crash) is updates! If you need to update your shop You will have to redo everything.

Inside this folder you should have the following folders

Images
sideboxes
template_info.php
css
buttons
templates
common

Then one for your english folder that has the name of your custom template on the outside of it and inside you should have your header.php, meta_tags.php and index.php.

Then hack away at those files. If you hack and break something you can recover from your default template.

26 Dec 2006, 4:39 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Strange thing happening to my Header Background !

Um he did say he had created a custom template folder and made his changes in there...

And Ken, your link is apparently broken. It would be easier to say something helpful if we could see your site. Did you make any other changes to the template yet?

26 Dec 2006, 12:27 PM
#7
nawork avatar

nawork

New Zenner

Join Date:
Aug 2004
Posts:
5
Plugin Contributions:
0

Re: Strange thing happening to my Header Background !

I fixed it.
Apparently the first unzip did something strange????
I downloaded (FileZilla) the whole shop and compared (WinMerge) with a local unzip and had dozens of core files different!!!!!????

Removed original files and did a fresh unzip and a custom folder works fine.

Sorry about the link but it is putting in an extra http://

I will edit my profile.