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)
-   -   My Site Width not fixed (https://forum.x-cart.com/showthread.php?t=47732)

AusNetIT 05-25-2009 04:25 AM

My Site Width not fixed
 
HI All,

My site width set to 975 but when i open this site it is going wider and then set to 975?

http://www.sparktrading.com.au

Can someone help pls.:roll:

rectangle_top.tpl
<TABLE align="center" border="0" cellpadding="0" cellspacing="0" width="975">
<TR>
<TD valign="top"><DIV style="position: absolute;" id="div_null"></DIV>

customer/main/products_t.tpl


{* $Id: products_t.tpl,v 1.30.2.12 2008/07/15 12:07:40 ferz Exp $ *}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="5" cellspacing="1">
{math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}
{section name=product loop=$products}
{assign var="discount" value=0}
{if %product.index% is div by $config.Appearance.products_per_row}
<tr>
{assign var="cell_counter" value=0}
{/if}
{math equation="x+1" x=$cell_counter assign="cell_counter" }
<td width="{$width}%" class="PListCell">
<td width="{$width}%" class="PListCell" onmouseover="this.className='PListCellOver'" onmouseout="this.className='PListCell'">

Thanks,

ARW VISIONS 05-25-2009 05:48 AM

Re: My Site Width not fixed
 
The image in the middle of the home apge is to wide making the site stretch to larger that 975. Make the iamge smaller and the home page should shrink in width a bit.

Looks like there is some other issue making the dialog box to large also.

ARW VISIONS 05-25-2009 05:52 AM

Re: My Site Width not fixed
 
<div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<div class="product_records_container" style="margin-bottom: 2px; border #474747 ">
<table cellspacing="0" cellpadding="0" width="620" border="5">

maybe also take out the width="620"

the doctype should be removed also.

AusNetIT 05-26-2009 03:51 AM

Re: My Site Width not fixed
 
HI,

Thanks, i did that but still got that issue. when you click one of the sub category then that products strach to 975 and adjesing to 3 Product per row?

ARW VISIONS 05-26-2009 04:49 AM

Re: My Site Width not fixed
 
you don't want the 3 products per row?

AusNetIT 05-26-2009 10:52 AM

Re: My Site Width not fixed
 
1 Attachment(s)
HI Ashly,

Thank you but not quite understand

Quote:

you don't want the 3 products per row?

May be i didn't explain to you properley so i have attaced the pic so you can see what i'm saying.

My Screen is 1440 x 900 ( wide screen)

Thanks,

ARW VISIONS 05-26-2009 01:30 PM

Re: My Site Width not fixed
 
I can't view the iamge

AusNetIT 05-27-2009 08:29 PM

Re: My Site Width not fixed
 
HI,

You mean the attached pic?

Thanks

ARW VISIONS 05-28-2009 12:09 AM

Re: My Site Width not fixed
 
well of course it just poped up now. Earlier it was not showing.

I'll check it out.


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

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