Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Resize and center a Purpleshade template

Resize and center a Purpleshade template

Locked

Views: 1,112

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
15 Oct 2006, 6:32 PM
#1
mikajlo avatar

mikajlo

New Zenner

Join Date:
Sep 2006
Posts:
26
Plugin Contributions:
0

Resize and center a Purpleshade template

Hi, I am using a purpleshade template for ZC 1.3.5. It is designed with width=100%, but I would like to resize width of template to 750px. I manage to do it with:
#mainWrapper {
/* background-color: #ffffff; */
text-align: left;
position: center;
width: 750px;
vertical-align: top;
}

but now whole template is left aligned and I want it to be in center. Also Header section must be resized to 750px and aligned to center. I want it to look something like Classic template, nerrowed to 750px and centered in horizontal alignment.

Thanks.

15 Oct 2006, 7:07 PM
#2
clydejones avatar

clydejones

Deceased

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

Re: Resize and center a Purpleshade template

Make the change in the highlighted portion:

#mainWrapper {
/* background-color: #ffffff; */
text-align: left;
margin: 0 auto;
width: 750px;
vertical-align: top;
}