YouTube iFrame Being Applied to Wrong Item
-
I have a shortcode which calls up a small script to embed a subscribe to YouTube Button. It is working on all my pages, but not on my Home / Main page.
The problem is that the main page is somehow catching this code and applying it to the button, specifically the padding-top is causing problems, it shows up as a large 150% of white space on my site.
catchkathmandu.fitvids.min.js
t.attr("id",s)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",i*100+"%");
Problem example:
www.futuragamer.com (buttons in posts above youtube videos)
Non Problem example:
https://www.futuragamer.com/category/android/puzzle/painful-puzzle/
- The topic ‘YouTube iFrame Being Applied to Wrong Item’ is closed to new replies.