Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to create a gap between the sideboxes and the centercolumn?

How to create a gap between the sideboxes and the centercolumn?

Locked

Views: 693

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
26 Sep 2010, 5:38 PM
#1
se_nt avatar

se_nt

New Zenner

Join Date:
Feb 2008
Posts:
36
Plugin Contributions:
0

How to create a gap between the sideboxes and the centercolumn?

Hi I finally managed to sort out a box with rounded corners for my centercolumn but it''s jammed right up against the left sideboxes and looks kind of messy.

Does anybody know how I can put some space between it and the sideboxes? Cheers.

26 Sep 2010, 5:41 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to create a gap between the sideboxes and the centercolumn?

Post a link to this for specific solutions

26 Sep 2010, 5:54 PM
#3
se_nt avatar

se_nt

New Zenner

Join Date:
Feb 2008
Posts:
36
Plugin Contributions:
0

Re: How to create a gap between the sideboxes and the centercolumn?

Hi Kobra the site is here Thanks

26 Sep 2010, 6:59 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to create a gap between the sideboxes and the centercolumn?

Some basic things - - If you are not going to have any right sideboxex - -
admin > config > layout settings > Column Right Status - Global > set to "0"

Does anybody know how I can put some space between it and the sideboxes?
Best way is to adjust the left column width

admin > config > layout settings > Column Width - Left > try 200px

26 Sep 2010, 7:21 PM
#5
se_nt avatar

se_nt

New Zenner

Join Date:
Feb 2008
Posts:
36
Plugin Contributions:
0

Re: How to create a gap between the sideboxes and the centercolumn?

Excellent stuff, thanks for your help Kobra, now all I need to do is figure out how to shift the headerwrapper back inline with the center

26 Sep 2010, 7:56 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to create a gap between the sideboxes and the centercolumn?

Not positive in this template but at 1024 this helps

body {
    margin: 0% 0% 0% 10%;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #e5edf5;
    }
26 Sep 2010, 8:39 PM
#7
se_nt avatar

se_nt

New Zenner

Join Date:
Feb 2008
Posts:
36
Plugin Contributions:
0

Re: How to create a gap between the sideboxes and the centercolumn?

Hey thanks, I tried that but it moves everything rather than just the items contained within the headerwrapper

26 Sep 2010, 9:22 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to create a gap between the sideboxes and the centercolumn?

The headerwrapper is contained within the main wrapper
So it is centered correctly as designed
One would have to place the headerwrapper outside of the confines of the main to have the effect I think you are referencing
A look at tpl_main_page.php might guide you if you want to alter this

27 Sep 2010, 11:14 AM
#9
se_nt avatar

se_nt

New Zenner

Join Date:
Feb 2008
Posts:
36
Plugin Contributions:
0

Re: How to create a gap between the sideboxes and the centercolumn?

Thanks Kobra I'll have a poke around tpl_main_page.php and see what happens