Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How do I position my web pages on the center of the screen?

How do I position my web pages on the center of the screen?

Locked
This thread is locked. New replies are disabled.
14 Feb 2007, 9:24 AM
#1
zahid99 avatar

zahid99

New Zenner

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

Post #1 by zahid99

Hi All.

My website is near to finish, only having a small problem that How could I position my web pages on the center of the screen?

thanks
Zohaib

14 Feb 2007, 9:50 AM
#2
ryk avatar

ryk

Totally Zenned

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

Post #2 by ryk

In your stylesheet find #mainWrapper - set the width to what you want and margin to auto...like this

#mainWrapper {
	background-color: white;
	text-align: left;
	width: 770px; /* as you require*/
	vertical-align: top;
        margin: auto;
	}

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

14 Feb 2007, 11:10 AM
#3
zahid99 avatar

zahid99

New Zenner

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

Post #3 by zahid99

thanks very much bro.
Now i have another question if you can guide me.
I have an old store and want to transfer its categories to new store.
how can I done it.

14 Feb 2007, 12:41 PM
#4
ryk avatar

ryk

Totally Zenned

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

Post #4 by ryk

Using the search facility to find transfer categories (the asterisks tell vBulletin to look for the phrase) you would have found this - http://www.zen-cart.com/forum/showpost.php?p=319845&postcount=4

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