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?
-
- 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:
Replace it with:
That's it.
Cheers
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
-
- 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
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
-
- 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.
You would need to edit these in Photoshop or similar. Adding padding will leave a blank space.
Cheers,
Jason.
-
- Fresh Boarder
4 posts
• Page 1 of 1