View Single Post
  #2  
Old January 14th, 2014, 03:17 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

To change the layout, add this to your Custom CSS:

Code:
#view .sp .rc
{
	margin-right: 230px;
	margin-left: 0px;
	padding-left: 0;
}

#view .sp .lc { float: right; }
To move the button, change your code to this:

HTML Code:
<!-- Single Product -->
<div class="sp">
  <div class="lc">
    <div class="thmb">
      <a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">
        [product.image tag='1']
      </a>
    </div>
    <div class="btns">
      <a href="[product.url]" class="dfbutton dforange dflarge" title="Buy this product" target="_blank" rel="nofollow">Buy</a>
    </div>
  </div>
  <div class="rc">
    <h2><a href="[product.url direct='0']" title="[product.name]" target="_blank" rel="nofollow">[product.name]</a></h2>
    <p class="desc">[product.description]</p>
    <div>
      [product.each_tag]<?php if($nn>1){echo ', ';}?><a href="[tag.link]"><?php echo str_replace("-"," ",$tag->name);?></a>[/product.each_tag]
    </div>
    <div class="prc">[product.currency mode="sign"][product.price]</div>
  </div>
  <div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->
Eric