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)
-   -   Is it possible to fix the width of the Cart? (https://forum.x-cart.com/showthread.php?t=1245)

bloomis 01-21-2003 08:01 PM

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!

jpsowin 01-21-2003 08:09 PM

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">


shan 01-22-2003 02:19 AM

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

bloomis 01-22-2003 05:48 AM

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!


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

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