![]() |
Moving the site to the center
The side position is all the way to the left how do I move it to the middle ?
Example, right now is like www.tigerdirect.com and I want it to be like www.target.com Just need to know what file to modify. Thanks!!!!! |
Re: Moving the site to the center
Quote:
In the file "skin1/customer/home.tpl" immediately after the line: PHP Code:
PHP Code:
then insert the following сode PHP Code:
before the line PHP Code:
|
Re: Moving the site to the center
didnt work
|
Re: Moving the site to the center
Ok it works, but everything is in the middle now.......Including colunms, products, etc etc
|
Re: Moving the site to the center
Yea, that won't quite work. Try replacing this:
<div align="center"> with this: <div style="margin: 0 auto; width: 975px;"> Change the 975 to whatever width you want. |
Re: Moving the site to the center
Balinor it works, thanks a lot. Let me make it clear to the audience.
In the file "skin1/customer/home.tpl" immediately after the line: <body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}> insert the following code: <div style="margin: 0 auto; width: 975px;"> Change the 975 to whatever width you want. |
Re: Moving the site to the center
Now, how can I move the check out page cart to the middle of the screen?
|
Re: Moving the site to the center
Do the same thing to the fast lane template which is in your modules/fast lane folder.
|
Re: Moving the site to the center
Another way to do this with css, and one less element in your html:
in your css file, change the TABLE.Container element to: Code:
TABLE.Container { width: 960px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; } Accomplishes the same thing. Of course, edit the background-color to what you want it to be. |
Re: Moving the site to the center
It works, thank you thank you thank you!!! To everybody for all the help.
|
All times are GMT -8. The time now is 06:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.