Iframe automatically jumps to section

Product:
Wix Studio

What are you trying to achieve:
I am building a homepage and I loaded an embed code into a Wix iframe three sections down from the top. Every time I go to test the live site, the page jumps to the section with the iframe.

Is there a reason this is happening? How do I fix this?

Hi, @Benjamin_Sullivan !!

I see. This isn’t a topic I often come across in forums. If you delete the iframe (Wix element) once and then add a new iframe (Wix element) in the same spot with the same embedded code, does the same issue still occur? :thinking:

Hi @onemoretime !

Thank you for responding.
Great suggestion - I just tried it but unfortunately I am running into the same problem.
It is a Typefrom link. I’m not sure if that is maybe the issue.

I’m not sure if the code inside the Wix iframe affects the entire Wix site, but there might be some code in that link that triggers auto-focus. If that’s the cause, adding code to disable it might solve the problem. :upside_down_face:

1 Like

That solved it - thank you!
<iframe src="https://fillerurl.com?disable-auto-focus=true" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0"></iframe>

2 Likes