This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Iframe height

9 years ago · Last reply by dammronnie 9 years ago

Thanks for your help!!

Im using SiteOrigin. When using iframes inside a page, the height is always the same no matter what height I establish. It cutts them all in about 800px and cant see the bottom part of the iframe. I tried putting scrolling=”yes” but doesnt work.

the code is

Any help? Thanks

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Alex S Staff 9 years, 1 month ago

    Hi Dammronnie,

    I suspect your theme has CSS that enforces a maximum height for the iframe. Do you have a public URL where we can take a look at what’s going on?

  2. dammronnie 9 years, 1 month ago

    Thanks for your reply

    The following URL http://new.pgargentina.org.ar/tournament-with-iframe-height/ has the iframe height FIXED in a certain height and the page code is

    I found a way to get arround it (I dont think it is the way), because I cant edit it as an administrator in wordpress.

    http://new.pgargentina.org.ar/tournament-with-fixed-height-partial-solution

    and the code in the page is

    if you see I have taken out the in the second one.

  3. Alex S Staff 9 years, 1 month ago

    Hi Dammronnie,

    Yeah, your theme is causing you this issue. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Please add the following CSS:

    .embed-wrap iframe {
    	position: static;
    }
    
    .embed-wrap {
    	height: auto;
    }
    

    How does that look?

    You might also need to install the SiteOrigin CSS Editor.

    If that doesn’t help, it seems as though our forum is filtering out the code you’re using. Would it be possible for you to create a Pastebin and send me a link to the Pastebin??

  4. dammronnie 9 years, 1 month ago

    Thanks. It worked great adding the CSS!!!!

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread