Title: [Plugin: WordPress-Amazon-Associate] Styling
Last modified: August 19, 2016

---

# [Plugin: WordPress-Amazon-Associate] Styling

 *  Resolved [Sea Jay](https://wordpress.org/support/users/jcollier/)
 * (@jcollier)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/)
 * [Cross-posted from developer’s site; not sure which is the best place …]
 * I would like to apply styling to the product image generated by the shortcode.
 * Could you surround the a and img tags with a div containing a class something
   like “wpaa-product-link” so that we may apply styling, such as a float?
 * Thanks for the great plugin!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Jason Knight](https://wordpress.org/support/users/hihipattyrogan/)
 * (@hihipattyrogan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888542)
 * I’m doing something similar, and I can suggest a workaround. You can get the 
   direct associate links to the products (i.e. Product image and what not) and 
   if you’re using an estore theme, just input the links into your own custom generated
   product frame. Make sense?
 *  Thread Starter [Sea Jay](https://wordpress.org/support/users/jcollier/)
 * (@jcollier)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888545)
 * I’m just adding linked product images into the main body of basic posts in a 
   basic theme.
 * I like the ability to search Amazon products from within the edit screen and 
   insert the images right there.
 * Until I can style these plugin links, I’ll follow up on your suggestion. Thank
   you!
 *  Plugin Author [Matthew Denton](https://wordpress.org/support/users/mdbitz/)
 * (@mdbitz)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888576)
 * Hi, the amazon_image short code allows you to enter a class parameter that will
   append the img tag with the inputted class. I’m working on a new version of the
   plugin and will see about including a container and container_class parameters
   that will enable users to do custom styling of the links.
 *  Thread Starter [Sea Jay](https://wordpress.org/support/users/jcollier/)
 * (@jcollier)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888611)
 * I hadn’t seen the shortcode attribute for this. Works great! Just what I needed
   for now, until there’s a container.
 * `[amazon_image id="B002VKSCVQ" target="_self" size="Medium" link="true" class
   ="float-right"]Ambient Findability [AMBIENT FINDABILITY] [Paperback][/amazon_image]`
 * Thank you
 *  Plugin Author [Matthew Denton](https://wordpress.org/support/users/mdbitz/)
 * (@mdbitz)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888883)
 * Hi, version 1.5.0 of the plugin has been released and it contains the following
   2 attributes to allow users greater control over stylizing links and images.
 * container
    container_class
 * For Example `[amazon_link id="B002VKSCVQ" container="DIV" container_class="myClass"]`
 * Would render the following link
    `<div class="myClass"><a href="...." /></div
   >`

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WordPress-Amazon-Associate] Styling’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-amazon-associate.svg)
 * [WordPress-Amazon-Associate](https://wordpress.org/plugins/wordpress-amazon-associate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-amazon-associate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-amazon-associate/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-amazon-associate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-amazon-associate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-amazon-associate/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Matthew Denton](https://wordpress.org/support/users/mdbitz/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-amazon-associate-styling/#post-1888883)
 * Status: resolved