Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Aligning shop center

Aligning shop center

Locked

Views: 1,059

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Aug 2006, 4:57 PM
#1
fluxem avatar

fluxem

New Zenner

Join Date:
Jul 2006
Location:
California
Posts:
44
Plugin Contributions:
0

Aligning shop center

I'm difinitly a ZC noobie.. what I am trying to do is align my whole shop to the center.
It seems to me after I have searched the forum that it typically does align center by default but for some reason mine has aligned to the left.

Well my current temp location for the store is at http://www.djsguitars.com/cart

here is my current body style

body {
margin: 0px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #FFFFFF;
width: 818px;

}
23 Aug 2006, 5:15 PM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Aligning shop center

You need to define the main wrapper for the centering that's my assumption - your page is not loading for me it keeps timing out so I cannot look at the css or source to help you.

23 Aug 2006, 5:40 PM
#3
fluxem avatar

fluxem

New Zenner

Join Date:
Jul 2006
Location:
California
Posts:
44
Plugin Contributions:
0

Re: Aligning shop center

Thank you for your reply!

I dunno why its timing out.. sorry bout dat.

this might be a really dumb question but how would i define that in the mainwrapper.. heres what I have right now..

#mainWrapper {
text-align: left;
width: 100%;
vertical-align: top;
background-image: url(../../../../images/middle.jpg);
background-repeat: no-repeat;
background-color: #ffffff;
}

23 Aug 2006, 5:57 PM
#4
fluxem avatar

fluxem

New Zenner

Join Date:
Jul 2006
Location:
California
Posts:
44
Plugin Contributions:
0

Re: Aligning shop center

got it centered!

I just changed my margin in the body tag from margin: 0px to margin: auto

thank you again for your reply, its much appreciated!