Title: Duplicate CSS class and wrapper within container
Last modified: September 1, 2016

---

# Duplicate CSS class and wrapper within container

 *  Resolved [kobashicomputing](https://wordpress.org/support/users/kobashicomputing/)
 * (@kobashicomputing)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/duplicate-css-class-and-wrapper-within-container/)
 * The img tag generated has duplicated classes. This is when using the shortcode
   for the element. I’m getting really strange behavior because of it where the 
   large image is actually getting shrunk.
 *     ```
       <div class="amazon-element-lg-image">
       <div class="amazon-image-wrapper"><a href="http://www.amazon.com/whatever" target="_blank" ><img src="http://whatever.jpg" class="amazon-image amazon-image" /></a></div>
       </div>
       </div>
       ```
   
 * Also, why are you creating a div container, then another wrapper within it?
 * [https://wordpress.org/plugins/amazon-product-in-a-post-plugin/](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)

The topic ‘Duplicate CSS class and wrapper within container’ is closed to new replies.

 * ![](https://ps.w.org/amazon-product-in-a-post-plugin/assets/icon.svg?rev=1565235)
 * [Amazon Product in a Post Plugin](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-product-in-a-post-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-product-in-a-post-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kobashicomputing](https://wordpress.org/support/users/kobashicomputing/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/duplicate-css-class-and-wrapper-within-container/)
 * Status: resolved