| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
questions about adjusting website width. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
questions about adjusting website width.
Hi All.
This is my first post Hopefully one day soon I'll be one of you people answer posts to help others but for now any help is much appreciated. I've edited rectangle_top.tpl and changed the following code in the <table> tag: width="{$width|default:"100%"}" to width="800". Firstly, the $width in the code above suggests there should be a variable for the width of the table. Is this correct? If it is, then wouldn't it be better to go and set that $width value rather than editing the code? If it is, then where is this $width variable please? Or is it better to just set the width="800" like I've done? Also, after change the width value to 800, the website is sized at 800 pixels but my admin page also go resized to 800 pixels. Is there a way to resize the website to 800 pixels but not the admin section?
__________________
PHP v4.3.11 MySQL v4.0.22 Apache v1.3.33(Unix) |
|||||||
#2
|
|||||||
|
|||||||
Make a copy of rectangle_top.tpl....call it rectangle_top_admin.tpl. Open single/home.tpl and change the include from retangle_top.tpl to rectangle_top_admin.tpl. Now you can edit rectangle_top.tpl and it won't affect the admin side.
And yes, just change it to width=x if you want it to be a fixed width.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Thanks balinor.
That works!
__________________
PHP v4.3.11 MySQL v4.0.22 Apache v1.3.33(Unix) |
|||||||
|
|||
X-Cart forums © 2001-2020
|