Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Header and Mian Content Spacing

Header and Mian Content Spacing

Locked

Views: 757

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Sep 2009, 3:07 PM
#1
automatica avatar

automatica

New Zenner

Join Date:
Jan 2009
Location:
Arkham
Posts:
26
Plugin Contributions:
0

Header and Mian Content Spacing

Please take a look at this page. I've been searching for the way to add space between the header and the main content. At the top of the main content you'll see the "main_wrapper_top.gif" that I'm trying to get on top of the main content area.

Thanks in advance!

4 Sep 2009, 4:00 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Header and Mian Content Spacing

automatica:

Please take a look at this page. I've been searching for the way to add space between the header and the main content. At the top of the main content you'll see the "main_wrapper_top.gif" that I'm trying to get on top of the main content area.

Thanks in advance!

It is at the top of the main content area.

4 Sep 2009, 4:05 PM
#3
automatica avatar

automatica

New Zenner

Join Date:
Jan 2009
Location:
Arkham
Posts:
26
Plugin Contributions:
0

Re: Header and Mian Content Spacing

I've gotten that far. The image appears to be overlaying the main content and not above it so that the rounded corners display properly.

4 Sep 2009, 4:10 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Header and Mian Content Spacing

In your stylesheet find```
/* ROUND CORNERS INCLUDE THIS SPACING - main content area */
#contentMainWrapper {
margin: 0;
padding: 0 0 0 0;
}


margin: 2.0em 0 0 0;
4 Sep 2009, 4:33 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Header and Mian Content Spacing

If the round-cornered gif has a transparent background and is the same color as #contentMainWrapper, that would explain your dilemma. You want to shift it so it is higher on the screen than its container. Try
position: relative;
top: -10px;
in this rule ```
/* ROUND CORNERS By SFS JAY */

#mainWrapperTop {
background:transparent url(../images/main_wrapper_top.gif) no-repeat scroll center bottom;
height:10px;
width:950px;
margin:0 auto;
padding:0;
text-align:left;
position: relative;
top: -10px;

}

4 Sep 2009, 5:10 PM
#6
automatica avatar

automatica

New Zenner

Join Date:
Jan 2009
Location:
Arkham
Posts:
26
Plugin Contributions:
0

Re: Header and Mian Content Spacing

Thank you for the input guys! I had to push the bread crumbs around a bit too but it's all working now.