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

editing 4.5 template product page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-09-2012, 05:29 PM
 
jl1 jl1 is offline
 

Member
  
Join Date: Jun 2012
Posts: 10
 

Default 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
__________________
X-Cart Gold v4.5.0
Reply With Quote
  #2  
Old 07-10-2012, 02:34 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
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 10:26 AM.

   

 
X-Cart forums © 2001-2020