View Single Post
Old Yesterday, 01:32 AM  
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,394
Quote:
Originally Posted by Duced View Post
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 ....
Great - Thank you so much - I will try it later!..
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote