Forums / Templates, Stylesheets, Page Layout / I want to align the whole store to the left?

I want to align the whole store to the left?

Locked

Started by touchclothing on 28 Feb 2007, 6:40 PM · Views: 1,362

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Feb 2007, 6:40 PM
#1
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

I want to align the whole store to the left?

I want to align the whole store to the left can someone lend me a hand with this. I want to align it like this store. https://www.touchcrew.com/tc

Thanks

28 Feb 2007, 6:46 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: I want to align the whole store to the left?

Open your stylesheet.css file. It's here:
/includes/templates/templatefolder/css

At the top you'll see the .body clas.

On the last line of that class before the } place the following code.

align: left;

Good luck,
John Patrick,
www.birdoasis.com

John Patrick
A Zen Cart Advocate!

28 Feb 2007, 11:51 PM
#3
touchclothing avatar

touchclothing

Totally Zenned

Join Date:
Jul 2005
Location:
Brooklyn NY
Posts:
498
Plugin Contributions:
0

Re: I want to align the whole store to the left?

this is what I see and when I added that to the end of this area it did nothing. An I putting in the right area?

body {

margin: 0;

font-family: verdana, arial, helvetica, sans-serif;

font-size: 62.5%;

color: #000000;

background-color: #000000

}

a img {border: none; }

1 Mar 2007, 12:04 AM
#4
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: I want to align the whole store to the left?

Align is deprecated...use

body {


margin: 0;

font-family: verdana, arial, helvetica, sans-serif;

font-size: 62.5%;

color: #000000;

background-color: #000000;

float: left;

}

BTW When the color pairs are equal as above, or for example #ffee00, then you can shorthand it to #000 or #fe0 if you wish.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

1 Mar 2007, 9:57 AM
#5
nitro avatar

nitro

New Zenner

Join Date:
Feb 2006
Location:
Australia, WA
Posts:
81
Plugin Contributions:
0

Re: I want to align the whole store to the left?

no need to float it left from the body tag (but that does work)

the code controlling centering the page is in the css like so

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

so just delete the #mainWrapper from here and it automagicly returns to the left :P