View Single Post
  #4  
Old 01-21-2009, 04:33 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: Product Details Width Question

I got it.... I figured out what they did... ugh... there was no margin-left: 480px ... it was calculating the 480 based on the size of the image ... probably to keep it so that the text was supposedly in the right place, even though by default the div's were overlapping (but that was after I put 480px wide images in)

So I found this:
Code:
<div class="details"{if $det_image_box_width gt 0 || $config.Appearance.image_width gt 0 || $product.image_x gt 0} style="margin-left: {$det_image_box_width|default:$config.Appearance.image_width|default:$product.image_x}px;"{/if}>

And simply ripped the Smarty statement out and hardcoded my new margin in the template like this:

Code:
<div class="details"{if $det_image_box_width gt 0 || $config.Appearance.image_width gt 0 || $product.image_x gt 0} style="margin-left: 500px;"{/if}>

I know that probably isn't the best way to do it, but it worked!
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote