Title: Amazon sponsored link iframe
Last modified: January 27, 2021

---

# Amazon sponsored link iframe

 *  Resolved [energywave78](https://wordpress.org/support/users/energywave78/)
 * (@energywave78)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/amazon-sponsored-link-iframe/)
 * Hello and thank you for collapse-o-matic plugin, I love it.
    I have a big problem
   with it: if I place Amazon sponsored links iframe as generated by Amazon in the
   collapse area the content of iframes are messy. I can imagine that the problem
   is that iframe starts in a hidden area thus rendering incorrectly, then when 
   shown they remain the same. It’s not ever the case, however, seems a random behavior.
   First time some iframes are correct, then all subsequent ones inside collapse-
   o-matic are wrong (se following images) This is an example of correct handling
   of iframes: [https://imgur.com/FjXT2Nk](https://imgur.com/FjXT2Nk) Tihs is an
   example of INCORRECT handling of iframes: [https://imgur.com/XbZFXU1](https://imgur.com/XbZFXU1)
   I’ve tried with HTML block with your shortcode in it as well a paragraph with
   an iframe shortcode, same behaviour (same HTML generated, btw) The iframe HTML
   generated by amazon is this: <iframe style=”width:120px;height:240px; overflow:
   hidden;” marginwidth=”0″ marginheight=”0″ scrolling=”no” frameborder=”0″ src=”[
   link_stripped]”></iframe>
 * If you have an idea please tell me as I’m out of what to try 🙁
 * Best regards,
    Henrik

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

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/amazon-sponsored-link-iframe/#post-13967792)
 * check out the maptastic class that can be assigned to the targets using targclass.
   there are many threads on this in the forums and on spacedonkey.de
    maptastic
   will do you right.
 *  Thread Starter [energywave78](https://wordpress.org/support/users/energywave78/)
 * (@energywave78)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/amazon-sponsored-link-iframe/#post-13968571)
 * Sorry I could not find it, maybe I was focalizing too much on iframe but the 
   source of the issue was another one that I don’t know.
    However, thank you very
   much! I added targclass=”maptastic” to expand shortcodes that contains Amazon
   sponsored iframes and that magically solved the issue!
 * Good work, good plugin! 🙂
    -  This reply was modified 5 years, 4 months ago by [energywave78](https://wordpress.org/support/users/energywave78/).
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/amazon-sponsored-link-iframe/#post-13968834)
 * Huzzah!
    Glad you got it fixed. And thank you for marking the issue as resolved.
   If you like the plugin or it’s support… consider leaving [a little review](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)
   to let others know this is the real-deal?

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

The topic ‘Amazon sponsored link iframe’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [collapse-o-matic](https://wordpress.org/support/topic-tag/collapse-o-matic/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)

 * 3 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/amazon-sponsored-link-iframe/#post-13968834)
 * Status: resolved