Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adjusting width, how?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-21-2004, 04:44 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default 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.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #2  
Old 05-25-2004, 07:59 AM
 
bigspooner bigspooner is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: berkshire uk
Posts: 44
 

Default

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
Reply With Quote
  #3  
Old 05-25-2004, 08:02 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

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!
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #4  
Old 05-25-2004, 08:16 AM
 
bigspooner bigspooner is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: berkshire uk
Posts: 44
 

Default

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
Reply With Quote
  #5  
Old 05-25-2004, 08:21 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

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
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #6  
Old 05-25-2004, 08:46 AM
 
bigspooner bigspooner is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: berkshire uk
Posts: 44
 

Default

i see, thanks for the help mate, nice one

SCott
Reply With Quote
  #7  
Old 05-25-2004, 08:48 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 05-25-2004, 09:28 AM
 
bigspooner bigspooner is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: berkshire uk
Posts: 44
 

Default

vey tasty, thanks shan,,,you really are a guru !
Reply With Quote
  #9  
Old 05-25-2004, 10:37 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

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??
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #10  
Old 05-27-2004, 02:54 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Thank you.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:03 PM.

   

 
X-Cart forums © 2001-2020