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

Is it possible to fix the width of the Cart?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-21-2003, 08:01 PM
 
bloomis bloomis is offline
 

Member
  
Join Date: Jan 2003
Posts: 19
 

Default Is it possible to fix the width of the Cart?

I don't like it when sites auto stretch to the browser. I have a header that is fixed at 780 and the cart goes past this when the browser is widened. Is it possible to fix the cart at 780 to line up with my header?

Thanks!
Reply With Quote
  #2  
Old 01-21-2003, 08:09 PM
 
jpsowin jpsowin is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 459
 

Default

Since I've changed all my templates I can't test it, but try this:

Change the code at the top of head.tpl:
Code:
{assign var="all_languages_numba" value=0} {* $Id: head.tpl,v 1.22 2002/10/17 13:54:56 zorg Exp $ *} <TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=HeadBox width=100%>

to this:
Code:
{assign var="all_languages_numba" value=0} {* $Id: head.tpl,v 1.22 2002/10/17 13:54:56 zorg Exp $ *} <TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=HeadBox width="780">
__________________
Joshua Sowin
...taking things one TPL at a time.
Reply With Quote
  #3  
Old 01-22-2003, 02:19 AM
  shan's Avatar 
shan shan is offline
 

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

Default

The file your looking for is rectangle_top.tpl

Set that to whatever width you want and maybe center it.

You can always set the border to 0 too to remove that dodgey line that goes around the site
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 01-22-2003, 05:48 AM
 
bloomis bloomis is offline
 

Member
  
Join Date: Jan 2003
Posts: 19
 

Default rectangle_top.tpl fixed it...

rectangle_top.tpl was the file that made it work. I just changed it to 780 and it worked great. Thanks!
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 08:45 AM.

   

 
X-Cart forums © 2001-2020