Thread: Custom Buttons
View Single Post
  #1  
Old April 8th, 2011, 05:53 AM
macfink macfink is offline
 
Join Date: Feb 2011
Posts: 685
Default Custom Buttons

Hi Eric,

I have tried to add my custom buttons. However, due to me being a novice, i'm doing something which is messing things up.

Below is the code with the default buttons, highlited in red is the code i need to change

<!-- Single Product -->
<div class="sp">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank">
[product.image tag='1']
</a>
<div class="btns">
<div>[product.currency mode="sign"][product.price]</div>
<a href="[product.url]" class="dfbutton dfblue dflarge dfrounded" title="Buy this product" target="_blank">Buy</a>
</div>
</div>
</div>
<div class="rc">
<h3><a href="[product.url direct='0']" title="[product.name]" target="_blank">[product.name]</a></h3>
<p class="desc">[product.description cut='75 words']</p>
<div>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->

This is what i have changed it to which messes with the CSS i think. I know what i'm doing is incorrect, but what is it?

<!-- Single Product -->
<div class="sp">
<div class="lc">
<div class="thmb">
<a href="[product.url direct='0']" title="[product.name]" target="_blank">
[product.image tag='1']
</a>
<div class="btns">
<div>[product.currency mode="sign"][product.price]</div>
<a href="[product.url]"><img src="http://www.freakfish.co.uk/images/button_buy_now_large.jpg" title="Buy this product" target="_blank">Buy</a>
</div>
</div>
</div>
<div class="rc">
<h3><a href="[product.url direct='0']" title="[product.name]" target="_blank">[product.name]</a></h3>
<p class="desc">[product.description cut='75 words']</p>
<div>
</div>
</div>
<div class="clearingdiv"> </div>
</div>
<!-- /Single Product -->
__________________
ID 30949
Website:
http://www.freakfish.co.uk/