Automatically resize iframe for rise content in learndash

Dec 13, 2021

So, I've added a rise course to learndash using the tin canny add tin can module. I've also tried adding it with a iframe html tag. Both work fine with no issues. However, I have an annoying scroll bar inside the iframe window which just looks messy.

Normally, there are ways, using java script for instance, to make the iframe automatically resize to fit the content so there would be no scroll but every script I've tried has been unsuccessful. 

Likewise, a CSS solution won't work as this would just remove the scroll bar, leaving content hidden.

Does anyone know a script or other solution that makes rise iframes automatically resize in learndash?

Thanks in advance

Be the first to reply