X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adjusting width, how? (https://forum.x-cart.com/showthread.php?t=7707)

bluecat 05-21-2004 04:44 PM

Adjusting width, how?
 
Where would I look to adjust the border width of my site (from side to side) of my site to say 760 pixels for example. Thank you.

bigspooner 05-25-2004 07:59 AM

I would als to know this please, all help appreciated.

The code seems to be as a percentage as opposed to a pixel setting, so if you change the 100% to say 780 pixels, what else do you have to alter please.

SCott

Emerson 05-25-2004 08:02 AM

Open home.tpl and edit the first table width, right under ""

Find
Code:

<table width="100%" .....

Change to
Code:

<table width="780".....

That should do it!

bigspooner 05-25-2004 08:16 AM

thanks for the reply, will everything else size in ok automatically?...or is there other sizes that are specified in other files which you have to change to stop it looking a mess?

SCott

Emerson 05-25-2004 08:21 AM

The left and right columns should be already set to 150 I beleive and the main column is a variable width so it should be fine.

You might find problems with some of the boxes that are displayed in the main area of the page.

I would change the width for the main table then go through all the pages and see what needs changing.
If you cant find what to edit, just post here and I'll tell you what to edit ;)

bigspooner 05-25-2004 08:46 AM

i see, thanks for the help mate, nice one

SCott

shan 05-25-2004 08:48 AM

the best way to do this is to alter the rectangle_top.tpl file
Code:

{* $Id: rectangle_top.tpl,v 1.7 2003/04/09 07:41:05 olga Exp $ *}
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="750" height="100%">
  <TR>
    <TD valign=top>


bigspooner 05-25-2004 09:28 AM

vey tasty, thanks shan,,,you really are a guru !

Emerson 05-25-2004 10:37 AM

Quote:

Originally Posted by shan
the best way to do this is to alter the rectangle_top.tpl file
Code:

{* $Id: rectangle_top.tpl,v 1.7 2003/04/09 07:41:05 olga Exp $ *}
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="750" height="100%">
  <TR>
    <TD valign=top>



Where were you when I was editing my store?? :lol:

bluecat 05-27-2004 02:54 PM

Thank you.


All times are GMT -8. The time now is 04:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.