Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Float column width
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

borisvel
Starting Member

Slovenia
47 Posts

Posted - December 11 2011 :  06:29:42  Show Profile  Visit borisvel's Homepage  Reply with Quote
Ho,

i manage 6.094 cart version and i use 2 column products and categories display with template. There is problem, because column's width change a lot with each page i browse. Is it possible to fix each column width to 50%???

Please help.

Thanks in advance and kind regards, Boris

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - December 12 2011 :  04:11:51  Show Profile  Reply with Quote
Hi Boris,

is there a chance you could post a screen shot of 2 different pages showing the varying column widths?
Usually this is controlled by the outer table in the product (tmp_productformat.htm) or category (tmp_category.htm)template files. Our site is set to display products at 98% of the column width and the column width itself stays constant.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

borisvel
Starting Member

Slovenia
47 Posts

Posted - December 12 2011 :  07:28:02  Show Profile  Visit borisvel's Homepage  Reply with Quote
Hi Carrol,

i can provide you site's page links with different width...

- frontpage, columns has equal widht

http://www.lingerie.si/

- here you can see difference

http://www.lingerie.si/shopdisplayproducts.asp?id=340&cat=Eroti%E8no perilo

There is also one important information, if you browse pages in one categorie, than column's width change also..

Thanks for help.

Kind regards, Boris
Go to Top of Page

borisvel
Starting Member

Slovenia
47 Posts

Posted - December 13 2011 :  02:38:55  Show Profile  Visit borisvel's Homepage  Reply with Quote
Hi,

i found solution. I added width feature for <td> object in shopproductformat_template.asp:


Sub StartColumnorRow
'debugwrite "colcount=" & colcount & "maxcolumns=" & productmaxcolumns
If ProductMaxColumns=1 or colcount=0 then
Response.write prodrow
end if
'width is set for 2-column!
response.write "<td align=left valign=top width='50%'>"
end sub


This solution assumes that cart display 2-column.

Kind regards, Boris
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00