Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I centre a template

How do I centre a template

Locked

Views: 690

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Mar 2010, 11:16 PM
#1
namister2010 avatar

namister2010

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

How do I centre a template

Hi ya

How do I centre a template, so that there is space down each side of the whole template.

I am a noob, but learning quickly.

Thank you

4 Mar 2010, 11:52 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: How do I centre a template

need to see your site .. but default zencart template stylesheet.css

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin:auto;
}

makes the template center .

5 Mar 2010, 3:40 PM
#3
namister2010 avatar

namister2010

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: How do I centre a template

Thank you Tony :)