Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Cant get rid of the small gap between my Header and Main Page.

Cant get rid of the small gap between my Header and Main Page.

Locked

Started by jaz1974 on 5 Oct 2006, 2:08 AM · Views: 2,900

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
5 Oct 2006, 2:08 AM
#1
jaz1974 avatar

jaz1974

New Zenner

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

Post #1 by jaz1974

Can anyone tell me how i can get rid of the small white space between my header and main page section?
I've tried everything, but cant find where this is coming from.

My site is :

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

Cheers...Jaz

15 Oct 2006, 3:01 AM
#2
bob99 avatar

bob99

New Zenner

Join Date:
Oct 2006
Posts:
1
Plugin Contributions:
0

Post #2 by bob99

Try changing the height to 0, if you havent yet. In header.php
define('HEADER_LOGO_WIDTH', '169px');
define('HEADER_LOGO_HEIGHT', '35px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

Oh and you might want to look at your page with firefox. (somethings seriously wrong)

17 Oct 2006, 11:05 PM
#3
mytoyo avatar

mytoyo

New Zenner

Join Date:
Oct 2006
Posts:
9
Plugin Contributions:
0

Post #3 by mytoyo

hi bob that worked for me as well. But i'm noticing something weird (please see image reference.) the header title "enjoy coming home" has h3 css tags when i decrease the size of the font to h5 or h6 the gap increases between the logo on the left and that header title. I want to header text to align with horizontally with the logo (please see other attachment.)

Ultimately i would like the header to have the horizontal 1 pixel bars going across the top and the bottom of the header.

-Marvin

20 Oct 2006, 4:55 PM
#4
mytoyo avatar

mytoyo

New Zenner

Join Date:
Oct 2006
Posts:
9
Plugin Contributions:
0

Post #4 by mytoyo

anyone?:unsure:

20 Oct 2006, 5:19 PM
#5
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Post #5 by seethrou

Without a url can't guess what happen.
Or you can inspect the page source and stylesheet to try out the solutions. :smile:

.

A New Starter again

20 Oct 2006, 5:32 PM
#6
mytoyo avatar

mytoyo

New Zenner

Join Date:
Oct 2006
Posts:
9
Plugin Contributions:
0

Post #6 by mytoyo

thanks for the response seethrou
This is the link to the shop
http://nolafurnishings.com/shop/
and this is what i want to achieve from a html static version
http://nolafurnishings.com/mainpage.htm

I want to put the tagline and the menus aligned with the logo on the left like the static version.
thanks

20 Oct 2006, 5:55 PM
#7
mytoyo avatar

mytoyo

New Zenner

Join Date:
Oct 2006
Posts:
9
Plugin Contributions:
0

Post #7 by mytoyo

i think its a matter of moving the code into that same div tag........?

21 Oct 2006, 1:40 AM
#8
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Post #8 by seethrou

Some move of the codes may caused some problems.

For the test of you site last night (+8 GMT ), :smile:
Only with css, it is almost done for Firefox but with some problems in IE.

In this morning, find that you are inserting tables to the header.
Anyway post the codes last night for your reference.

#taglineWrapper {
	margin-top: -85px;
}

/* For IE only */
* html #taglineWrapper {
	margin-top: -95px;
}

#tagline {
	padding: 1em 0 0 0;
	text-align : right;
	color: #ccc;
	font-style: italic;
}

#navMain {
	border-bottom: 1px gray solid;	
	padding: 0 1em 0.2em 0;

}

/* For IE only */
* html #navMain {
	border-bottom: 1px gray solid;	
	padding: 0 1em 0.2em 0;
}

A New Starter again

24 Oct 2006, 2:57 AM
#9
dbltoe avatar

dbltoe

Totally Zenned

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

Post #9 by dbltoe

your TDs for both the opening and closing HRs are resulting in a height of 14px each.
Why not get rid of the table in the header and go back to the divs?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com