iframe dynamic height \ Atom Feed

[ad_1]

I am using a PHP script to take information from an ATOM Feed (XML Format) to display available jobs. I am then using the below iframe to display these using the custom HTML widget on a wordpress page. What I can’t figure out is how to **make the iframe dynamically lengthen with the amount of jobs in it as it goes beyond the dimensions.** Currently it seems to have an invisible scroll bar – and that I can’t even make visible regardless of what css I throw in the page. This sub has been beyond helpful.

`<iframe src=”https://bgdcdistribution.com/Operations.php” style=”width: calc(100% – 1.25rem); height: 500px; border: none; padding-left: 0.625rem; padding-right: 0.625rem; display: block; margin: 0 auto;”></iframe>`

[ad_2]
1 Comment
  1. To anyone with a similar issue ever I believe I solved it. I took out the iframe altogether and added the PHP as a code snippet.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer