Forums / Templates, Stylesheets, Page Layout / lowering mainwrapper

lowering mainwrapper

Locked
Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Mar 2009, 20:12
#1
ditch avatar

ditch

New Zenner

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

lowering mainwrapper

Hey there everyone,

Thinking my question is relatively simple, but I'm not seeming to sort it out on my own. I've done about 100 searches on here now and am still at a loss, so figured I would just ask. :)

Basically what I would like to do, is above the mainwrapper (and below it for that matter), place the equivalent of a <br /> which I believe would need to be done in the css somehow. Having the top of the content just hug the top of my browser is driving me batty, and I can't seem to figure it out.

I'm using version 1.3.8a if needed.

[B]Thanks in advance for any help with this. If I haven't been clear enough please let me know. :smile:

Cheers,

-Ditch

[/B]
24 Mar 2009, 20:22
#2
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

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

Re: lowering mainwrapper

Have you tried editing your stylesheet.css and adding a margin???

for example;

#mainWrapper {
margin:10px auto;
}
24 Mar 2009, 20:23
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: lowering mainwrapper

Find this
#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin:auto;
}
and change it to this
#navColumnOneWrapper, #navColumnTwoWrapper {
margin:auto;
}

#mainWrapper {
margin: 20px auto;
}
Then adjust the figure in red to suit your taste.
24 Mar 2009, 20:26
#4
ditch avatar

ditch

New Zenner

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

Re: lowering mainwrapper

Thank you much. ;) Going to give those a shot now. I figured it would be a margin thing, but so many times I have messed with those and had everything inside of a container suddenly become unaligned.

Will post again after testing this out, and thanks again for the superfast responses.
24 Mar 2009, 20:31
#5
ditch avatar

ditch

New Zenner

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

Re: lowering mainwrapper

I used your improvised Kuroi, and it worked perfectly.

I got the exact distance I wanted from the top at 20. I'm wondering though, will that same margin attribute automatically adjust below the footer as well when I begin adding things to the store itself? As in, once the page becomes longer, will it adjust at the bottom as well as the top?

Thanks a ton guys - Cheers!