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

long description in 2 column

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-03-2012, 12:34 PM
 
tickseed tickseed is offline
 

Advanced Member
  
Join Date: Apr 2011
Posts: 60
 

Default long description in 2 column

Hi,

I am using the light & lucis theme with 2 products per line and with help from these forums have modified
/common_files/customer/main/products_t.tpl

so that the long product description is shown. I added this around line 60

<div class="descr" > {$product.descr|amp}</div>


It all works fine but when two products have the same size image the description text from one appears to run into the other. See
http://www.tickseed.co.uk/scientific-and-construction-toys-for-children.html
for an example.

I have tried changing the cell padding in the table tag but that doesn't seem to help so does anyone have any idea how I could "restrict" the text ?

Regard,

David

X-Cart 4.4.3
__________________
Version 4.4.2
Reply With Quote
  #2  
Old 04-03-2012, 01:39 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: long description in 2 column

You can try:
Code:
.products .descr { margin: 0 100px; }

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:45 PM.

   

 
X-Cart forums © 2001-2020