How to get the site stand in the middle?

Multi-purpose Joomla template including ecommerce features and beautiful design
GK User
Thu Jan 01, 2009 4:43 pm
Is there a easy way to do this?
User avatar
Fresh Boarder

GK User
Thu Jan 01, 2009 5:41 pm
Hi

You place your question on eshoptrix forum, but i assume that you are referring to eShopTrix II template. So i moved your topic to the right forum.

To make your template align on the middle, please open the template_css.css file, located on CSS folder and find this code:

Code: Select all
.page960 {
width: 960px;
clear: both;
padding-left: 20px;
position: relative;
}
.page980 {
width: 980px;
clear: both;
}


Replace it with:

Code: Select all
.page960 {
width: 960px;
clear: both;
padding-left: 20px;
position: relative;
margin: 0 auto;
}
.page980 {
width: 980px;
clear: both;
margin: 0 auto;
}



That's it.

Cheers ;)
User avatar
Platinum Boarder

GK User
Tue Feb 10, 2009 9:47 pm
Hi and thanks for the code

Whilst the code alteration will put most of the site in the centre, it still leaves the back ground files on the left.

These are bg_page.jpg and bg_header.png so I guess they could do with some padding?:S
User avatar
Fresh Boarder

GK User
Tue Feb 10, 2009 10:13 pm
Hi,

You would need to edit these in Photoshop or similar. Adding padding will leave a blank space.

Cheers,

Jason.
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.