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)
-   -   Fixed Width problem in product.tpl (https://forum.x-cart.com/showthread.php?t=9929)

terobot 10-20-2004 06:41 AM

Fixed Width problem in product.tpl
 
I've just started using X-Cart Gold 4 last week and I'm on a steep learning curve, so please be patient with any ignorance. I'm mid-way through designing a site and have fixed the width of my site to 755px and centered it in rectangle_top.tpl. This aligns the body of every page with my customized header except when viewing the details of a single product.

For some reason, the central section on this page is forced wider than the rest, thus increasing the width beyond 755px. See what I mean at -
http://www.austcoffeeco.com.au/xcart/product.php?productid=16134&cat=105&page=1

I assume the problem lies within product.tpl, but I can't seem to locate any 'width =..' statement that might be causing this. Any help would be appreciated.

abeight 10-20-2004 07:26 AM

It looks like it's actually the "send to a friend" form fields that are forcing the width.

terobot 10-20-2004 03:24 PM

Thanks Andrea. I hadn't realised that the 'send to friend' section was another .tpl file until you pointed me in the right direction. I was too fixated looking for 'width' statements. Anyway, I disabled its 'include' command, and all works well. Too easy and thanks again!


All times are GMT -8. The time now is 10:26 PM.

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