Title: &#8220;After HTML element&#8221; does not work
Last modified: April 14, 2023

---

# “After HTML element” does not work

 *  Resolved [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/)
 * Hi,
 * I am using your plugin. It is great. thanks.
 * But I have a question.
 * When I use “After HTML element”, the ad does not display.
 * [https://youtu.be/OHlcsmDrdvU](https://youtu.be/OHlcsmDrdvU)
 * Actually, I want to add the ad under the every YouTube video on many posts.
 * But how can I achieve this?
 * For now, as you can see on the video above, even displaying the ad under the 
   YouTube video on the specific page does not work, either.
 * Hope your reply soon.
 * Best

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16656144)
 * Without any data there is nothing we can do:
   [https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/](https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/)
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16658803)
 * [@spacetime](https://wordpress.org/support/users/spacetime/)
 * Thank you for your reply.
 * I just want to know how to show ad after YouTube video.
 *     ```wp-block-code
       HTML element     iframe
       ```
   
 * does not work.
 * Please tell me how to show ad after YouTube video.
 * Hope your reply soon.
 * Best
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16658879)
 * If you would like to insert after HTML element `iframe` then simply insert after`
   iframe`.
 * You still haven’t posted any page address to check.
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16658944)
 * Hi [@spacetime](https://wordpress.org/support/users/spacetime/)
 * Thank you for your reply.
 * I tried it but ad inserter does not work.
 * [https://youtu.be/3f2uq8tqyRY](https://youtu.be/3f2uq8tqyRY)
 * This is the page below which I did on the video.
 * [https://water-dispenser.emilyselect.com/asmr%e3%80%80%e3%82%a6%e3%82%a9%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%92%e6%b3%a8%e3%81%90%e9%9f%b3%e3%80%80%e7%9d%a1%e7%9c%a0%e7%94%a8%e9%9f%b3/](https://water-dispenser.emilyselect.com/asmr%e3%80%80%e3%82%a6%e3%82%a9%e3%83%bc%e3%82%bf%e3%83%bc%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%82%92%e6%b3%a8%e3%81%90%e9%9f%b3%e3%80%80%e7%9d%a1%e7%9c%a0%e7%94%a8%e9%9f%b3/)
 * Hope your reply soon.
 * Best
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659010)
 * Remote debugging doesn’t seem to be enabled.
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659015)
 * Hi [@spacetime](https://wordpress.org/support/users/spacetime/)
 * I enabled Remote debugging.
 * Best
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659024)
 * Blocks 2 and 3 are inserted after youtube iframe. iframe overlaps them – if you
   hide it in the browser you’ll see both blocks there.
 * Try to insert after the wrapping div:
   `.vbp-16-9`
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659037)
 * Hi [@spacetime](https://wordpress.org/support/users/spacetime/)
 * Oh, it works!
   Thank you very much!
 * But could you tell me one more thing?
 * [https://www.dropbox.com/s/8yfu3f40mmys1un/iframe.png?dl=0](https://www.dropbox.com/s/8yfu3f40mmys1un/iframe.png?dl=0)
 * Why just “iframe”does not work on this page below?
 * [https://water-dispenser.emilyselect.com/%e3%83%86%e3%82%b9%e3%83%88/](https://water-dispenser.emilyselect.com/%e3%83%86%e3%82%b9%e3%83%88/)
 * Hope your reply soon.
 * Best
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659055)
 * The block is inserted after the iframe tag, however, as the styles of the iframe
   use absolute position they overlap the next elements (blocks) that follow.
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659061)
 * [@spacetime](https://wordpress.org/support/users/spacetime/)
 * Is there any solutions how to insert ad after YouTube video when the iframe uses
   absolute position?
 * Best
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659067)
 * Sure:
 * [https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659024](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659024)
 *  Thread Starter [mrsmith11](https://wordpress.org/support/users/mrsmith11/)
 * (@mrsmith11)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659138)
 * [@spacetime](https://wordpress.org/support/users/spacetime/) I use “figure” for
   normal YouTube video, and it works fine.
 * thanks
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659212)
 * If the iframe is wrapped with a figure tag then this could also work.

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

The topic ‘“After HTML element” does not work’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/after-html-element-does-not-work/#post-16659212)
 * Status: resolved