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)
-   -   Product Description-inline element ???? (https://forum.x-cart.com/showthread.php?t=63208)

Paul H 04-07-2012 09:51 AM

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

cflsystems 04-07-2012 09:57 AM

Re: Product Description-inline element ????
 
This is coming from the template - the details section takes the margin from the image width

Paul H 04-07-2012 10:22 AM

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

cflsystems 04-07-2012 10:37 AM

Re: Product Description-inline element ????
 
It's in product.tpl

Paul H 04-07-2012 11:00 AM

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


All times are GMT -8. The time now is 10:35 AM.

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