Hi, can I ask some help please, it’s been 1 week I’ve battling to solve this issue.
I am using this multistep form, but in step 3 social info I add Iframe but unfortunately it did not show only black screen here is my CodePen, if you directly paste to browser the src the content is working.
The original problem was that the iframe wouldn’t load when it was display:none. I gave you a fix by hiding the container off screen instead.
In your new code you have once again hidden the container with display:none. The fact that you try and set a child iframe to display:block has no effect when its parent is display:none.
You just need to do what I said originally but add a width to make it hide completely.
Thank you it works now I will try to use class also instead of nth-child(3) because the form steps are dynamically added it reaches 10 and sometimes in steps I will have 2 videos and some paragraphs. Thank you again… I will be back if I get in trouble
You could use my routine for all the form panels I believe. I’m not on a computer to test at the moment but I don’t see why it wouldn’t work. It just means that all are hidden off screen rather than display none.