Forums / Templates, Stylesheets, Page Layout / Unwanted white space under header image

Unwanted white space under header image

Locked

Views: 2,471

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
24 Aug 2008, 1:29 PM
#1
vito avatar

vito

Zen Follower

Join Date:
Mar 2006
Posts:
182
Plugin Contributions:
0

Unwanted white space under header image

I replaced the header background image. The new image was 99 px high rather than the default 110, so I edited in the stylesheet -

#logoWrapper {
width:780px;
height:99px;
background-image: url(../images/header_bg.gif);
background-repeat: no-repeat;
}

However, I have a white space under the header. It's about 10 px high, and then under that is the category row. See attached image.

Any clue on how to eliminate that white space?

Vito

24 Aug 2008, 1:47 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Unwanted white space under header image

A link to your site would help.

Also, check this thread:

http://www.zen-cart.com/forum/showthread.php?t=52641

Searching the forum for 'white space' returns a lot of threads about that problem.

24 Aug 2008, 2:02 PM
#3
vito avatar

vito

Zen Follower

Join Date:
Mar 2006
Posts:
182
Plugin Contributions:
0

Re: Unwanted white space under header image

That did the trick. Thanks Steve.

I did try searching first, but I guess my search term wasn't the best wording.

Thanks again. :)

Vito

11 Oct 2008, 7:07 PM
#4
tom_ace avatar

tom_ace

Zen Follower

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

Re: Unwanted white space under header image

Is it okay to complete remove logowrapper? I did it and it fixed the white space but i don't know if it okay.

#logoWrapper{
	background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #FFFFFF;
	height:75px;
	}