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)
-   -   editing 4.5 template product page (https://forum.x-cart.com/showthread.php?t=64232)

jl1 07-09-2012 05:29 PM

editing 4.5 template product page
 
I'm having issues trying to create more space to the right of the page on the product page - the product description is being cut off on the right.

When viewed through firebug it shows a box that controls it (BORDERED WITH BLUE) - but i can't seem to find it in the templates:http://i1173.photobucket.com/albums/r594/justinlaju/snaphot-1.png


anyone know what to do here?

firebug tells me:

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

But i Can't find where to change this - to allow for more space on the right?

Thanks in advance

JL

pauldodman 07-10-2012 02:34 AM

Re: editing 4.5 template product page
 
This is controlled via the template customer/main/product.tpl

Look for the line:
<div class="details"{if $max_image_width gt 0} style="margin-left: {$max_image_width}px;"{/if}>

You will see that the left margin is being created from the size of the image.


All times are GMT -8. The time now is 05:22 PM.

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