View Single Post
  #1  
Old August 5th, 2011, 02:45 PM
nicole117516 nicole117516 is offline
 
Join Date: Jan 2011
Posts: 9
Default Modify Embedded Post View Code

Hi,
I have been reading and tweaking my code for almost 2 hours and I am needing assistance on modifying code for the view that is used to embed the product into the post. I am a novice with code and am afraid I hacked it to death already.

I have followed the instructions in the documentation for creating the custom view and pasting the code into the view and checking the box for not using the layout. I have tried editing the custom css but not correctly I see.

If there is any way you could please guide me in the right direction it would be greatly appreciated.

I am trying to embed into my posts with a "embedded product" custom view:
  • 350 width product image - centered with no border
  • a button centered directly under it
  • both the image and button links open in new window with "no-follow" on them

that's it...no price, description,etc.

Thanks so much - I really appreciate it!
Rachael

Here is the code I currently have in my "embedded product" view:
Code:
<div class="sp">
  <div class="lc">
    <div class="thmb">
      <a href="[product.url direct='0']" title="[product.name]" target="_blank">
        <img src="[product.image]" width="350"/>
      </a>
    </div>
  </div>
  <div class="rc">
       <div class="btns">
      <a href="[product.url]" class="dfbutton dfwhite dflarge dfrounded">Learn More</a>
    </div>
  </div>
  <div class="clearingdiv"> </div>
</div>