View Single Post
  #5  
Old August 8th, 2011, 12:54 PM
stefan stefan is offline
 
Join Date: Feb 2008
Posts: 5,901
Default

Can you take a look at your post and tell me if it's what you're looking for?

I've started from the instructions here

http://www.datafeedr.com/docs/item/184

and changed it slightly to fit your needs

Code:
<div class="embedded ctr">
<div class="t1">
<div class="bdr">

<div class="thmb">
<a href="[product.url]" title="[product.name]" target="_blank" rel="nofollow"> <img src="[product.image]" class="thmb1" alt="[product.name]" /> </a>
</div>

<div class="btns">
<a href="[product.url]" title="View details [product.name]" target="_blank" rel="nofollow" class="dfbutton dfwhite dflarge dfrounded">Learn More</a>
</div>
<div class="clearingdiv">
</div>
</div>
</div>
<div class="clearingdiv">
</div>
</div>
I also added the following custom css to your Store > Custom CSS file

Code:
.ctr {display: block; margin-left: auto; margin-right: auto;} 

.embedded .t1 .bdr { border: 0px #B3B3B3 solid; margin: 0 5px 10px 5px; padding: 2px; height: 100%; }

.thmb1 { width: expression(this.height < this.width && this.width > 350 ? '350px' :true); height: expression(this.height > this.width && this.height > 350 ? '350px' :true); max-width: 350px; max-height: 350px; }

Last edited by stefan : August 8th, 2011 at 12:59 PM.