| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Moving the site to the center | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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!!!!!
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
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:
|
|||||||||
|
#3
|
|||||||
|
|||||||
|
didnt work
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
|
#4
|
|||||||
|
|||||||
|
Ok it works, but everything is in the middle now.......Including colunms, products, etc etc
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
|
#5
|
|||||||
|
|||||||
|
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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
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.
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
|
#7
|
|||||||
|
|||||||
|
Now, how can I move the check out page cart to the middle of the screen?
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
|
#8
|
|||||||
|
|||||||
|
Do the same thing to the fast lane template which is in your modules/fast lane folder.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#9
|
|||||||
|
|||||||
|
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:
Accomplishes the same thing. Of course, edit the background-color to what you want it to be.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
#10
|
|||||||
|
|||||||
|
It works, thank you thank you thank you!!! To everybody for all the help.
__________________
X-Cart Gold Version 4.2.1 X-Cart Gold Version 4.4.3 OS: Linux |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||