iframe issue

I have been trying to add a donation page on my new website at www.reliablechristian.weebly.com. However, on the donations page the iframe code isn't working as intended no matter what I edit or try to do. 

This is the current code I am using, 

<iframe src="https://gogetfunding.com/reliable-christian-support-donation-campaign" height="150%" width="100%"></iframe>

I have used height as 100% as well but it doesn't work either. I am wanting the iframe to take up the whole page not be smushed together. What do I do? 

15,020 Views
Message 1 of 32
Report
1 Best Answer

Best Answer

Hello, @superman3474!

The issue is that the iframe doesn't contain any styling. Also, the theme has padded borders, that must be compensated for.

Try this code instead

<iframe src="https://gogetfunding.com/reliable-christian-support-donation-campaign/" style="border:1px #000000 solid;" name="DonationCampaign" scrolling="auto" align="center" height="2000px" width="850px">
</iframe>

View Best Answer >

15,079 Views
Message 4 of 32
Report
31 REPLIES 31
Square

I don't see an embedded code on the home page of your site @animesh. What is the name of the page with the code? Thanks!

3,482 Views
Message 33 of 32
Report

the page name is : probability-calculator

3,477 Views
Message 33 of 32
Report
Square

I think W3Schools might have code to prevent their site from being loaded that way. Can you put back your original iframe code so we can check it?

3,468 Views
Message 33 of 32
Report

3,461 Views
Message 33 of 32
Report
Square

Thanks. Try changing the SRC of the iframe to use HTTPS, like this:

https://letshelpimgs.com/test2/infoform.php

Since your site has SSL enabled, browsers will consider loading an iframe over http as insecure.

3,451 Views
Message 33 of 32
Report

That worked, Adam.

It seems we need a https (SSL) connection to the page that we are embedding (as our weebly site is ssl enabled).

Thanks a lot.

Animesh

3,444 Views
Message 33 of 32
Report
Square

Glad to help!

3,435 Views
Message 33 of 32
Report

Hi,

I am having an issue not displaying an iframe

Here is my embed code:

<h1>Don't Miss out!</h1>
<p>Subscribe here to find out on Deals, Webinars, News Articles and specials.</p>
<iframe src="https://my.zift123.com/#/contact-forms/ff80818165ea9a9b0165fe7710a967df"></iframe>

Here is the url: https://www.blancosolutions.com/dell.html

Please advise.

Thank you,

Oscar

3,370 Views
Message 33 of 32
Report
Square

Seems like the source of the frame doesn't like being displayed in a frame:

image

3,367 Views
Message 33 of 32
Report

I am trying to embed this website into my website.

https://seedly.sg/compare/sim-only-mobile-plans

i tried to use the iframe but it didn't work.

Can you advise what code i should use to embed this website into my page?

2,965 Views
Message 33 of 32
Report
Square

I just replied to your other post about this, @tomtomboy.

2,965 Views
Message 33 of 32
Report