Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / White Space Above Header I cant Fix It Can any One Help me

White Space Above Header I cant Fix It Can any One Help me

Locked

Views: 3,695

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 May 2007, 2:26 PM
#1
bdstratton avatar

bdstratton

New Zenner

Join Date:
Apr 2007
Posts:
5
Plugin Contributions:
0

White Space Above Header I cant Fix It Can any One Help me

Hi Im having problems with my web site when I go to mysite homepage the page loads fine but there is an enormous amount of white space above the header. I want to get rid of this as the page is supposed to start at the header.

check it out www.mysitified.com

if you figure out how to solve this I would be really greatful as I have searched the forums for hours for the answer but nothing seems to work.

15 May 2007, 3:15 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: White Space Above Header I cant Fix It Can any One Help me

I took a quick look.
This is a temp fix, but don't know if it is right.

stylesheet.css

Find:
body { margin: 0; padding: 0; font-family: verdana, arial, helvetica, sans-serif; font-size: 62.5%; }

replace
margin with:
margin-top: -25em;

Just guessing play with the - with different numbers.

16 May 2007, 12:56 AM
#3
bdstratton avatar

bdstratton

New Zenner

Join Date:
Apr 2007
Posts:
5
Plugin Contributions:
0

Re: White Space Above Header I cant Fix It Can any One Help me

Thanks but t didn't work the white space is gone but now the top part of the header is cut off when the page displays

16 May 2007, 1:08 AM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,844
Plugin Contributions:
0

Re: White Space Above Header I cant Fix It Can any One Help me

#container { width: 100%; margin:-133px 0 0 0; padding: 0; }

this is in the layout.css this should clear the white space, you may need to play with the -133px to get it exact. I would consider contacting the company you got the template from cause this shouldn't be happening

17 May 2007, 10:51 PM
#5
hereliesboots avatar

hereliesboots

New Zenner

Join Date:
Mar 2007
Posts:
34
Plugin Contributions:
0

Re: White Space Above Header I cant Fix It Can any One Help me

Hi It is not working for me if someone could help me. also i tried doing it in my test site first located at hereliesboots.com/beta/catalog and apparently in this structure i have only stylesheet.css but in my real live site i have stylesheet.css and stylesheet2.css and stylesheet2.ss is the one being called upon apparently. i have no idea what my web developer did any insight here? thanks!!

18 May 2007, 12:03 AM
#6
sketchy avatar

sketchy

Totally Zenned

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

Re: White Space Above Header I cant Fix It Can any One Help me

^ Sorry, that sure won't work in your case. The "whitespace" above your logo is actually remnants of the navigation bar which usually is home to "Home Log In" etc. It has handy things like "Log Out" and "Cart" links. I don't really get how potential customers can log in and the like. I can't see diddly on that bar, even using "Select All" on my browser. I'm thinking that the guts were hacked out of the header file. At any rate, Firefox shows a bit of it.. so, it's probably due to a coding error.

Yeah, both stylesheets are redundant as a pair. I've just used Winmerge on your two stylesheets and they are exact, asides from nine corresponding changes. One must have been a test stylesheet or something. If I were you, I'd just remove one of them at a time and note any subtle changes. If you remove one and you like what you see, then that's the ticket to freedom.