View Single Post
Old Yesterday, 01:09 AM  
Duced
Registered User
 
Industry Role:
Join Date: Feb 2026
Posts: 5
I find it nuts that people still use WordPress in 2026 especially for things like this. It's like polishing a turd. Anyways, it looks like you made a good effort. As for the iframe scrollbars.

Yep, I poked around a bit and the CSS actually wasn’t the problem.

The iframe already had overflow: clip !important on it, and that was applying properly, so nothing was overriding it.

At that point it seemed like the browser was just ignoring the CSS for the iframe’s built-in scrolling behavior, so I tried the old-school iframe attribute instead:

Code:
$0.setAttribute('scrolling', 'no');
That did it.

So basically, the CSS looked right, but the actual fix was setting scrolling="no" directly on the iframe. Using JavaScript or the HTML attribute ....
Duced is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote