Can’t get iframe to auto size to height.

[ad_1]

I am trying to create a window cleaning website and I’m trying to install the squeegee app customer portal which is an iframe.

The problem is, the iframe only displays a thin strip with a scroll.

This is the snippet.

<iframe src=”https://squeeg.ee/portal/exocleanperth/my-account?settings=hideBanner,hideNavigation,hideSideBar” style=”width: 100%; height: 100%; border: none;”></iframe>

I’m using blocksy theme with gutenberg..

[ad_2]
1 Comment
  1. Use aspect ratio instead of height: 100%; like this:

    <iframe src=”https://squeeg.ee/portal/exocleanperth/my-account?settings=hideBanner,hideNavigation,hideSideBar” style=”width: 100%; aspect-ratio: 16 / 9; border: none;”></iframe>

    Adjust the aspect ratio to taste 😉

 

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