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

Product Description-inline element ????

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-07-2012, 09:51 AM
 
Paul H Paul H is offline
 

eXpert
  
Join Date: Sep 2005
Posts: 246
 

Default Product Description-inline element ????

Hello
I'm just trying to design a light and Lucid 2 column 4.4.5 and have a problem with an inline element giving me a 125px left margin in product description.
I found this in page source

<div class="details" style="margin-left: 125px;">

<form name="orderform" method="post" action="cart.php" onsubmit="javascript: return FormValidation(this);">
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="productid" value="1" />
<input type="hidden" name="cat" value="2" />
<input type="hidden" name="page" value="1" />

<table cellpadding="0" cellspacing="0" summary="Description">

<tr>
<td >prod1*



</tr>

</table>

Where is this ? How do I modify it ??

Thanks
__________________
Xcart Gold 4.1.11-Gone
= 4.7.11-Live
Reply With Quote
  #2  
Old 04-07-2012, 09:57 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Product Description-inline element ????

This is coming from the template - the details section takes the margin from the image width
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Paul H (04-07-2012)
  #3  
Old 04-07-2012, 10:22 AM
 
Paul H Paul H is offline
 

eXpert
  
Join Date: Sep 2005
Posts: 246
 

Default Re: Product Description-inline element ????

Yes I just figured that as the image is 125px and I want to display the product image above the description rather than to left of the text.
I'm looking in product_details.tpl now but can't see anything
Is that the right template?
Thanks CFL
__________________
Xcart Gold 4.1.11-Gone
= 4.7.11-Live
Reply With Quote
  #4  
Old 04-07-2012, 10:37 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Product Description-inline element ????

It's in product.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Paul H (04-07-2012)
  #5  
Old 04-07-2012, 11:00 AM
 
Paul H Paul H is offline
 

eXpert
  
Join Date: Sep 2005
Posts: 246
 

Default Re: Product Description-inline element ????

Got it
{*<div class="details"{if $max_image_width gt 0} style="margin-left: {$max_image_width}px;"{/if}>*}
Thanks again cfl
__________________
Xcart Gold 4.1.11-Gone
= 4.7.11-Live
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 07:14 AM.

   

 
X-Cart forums © 2001-2020