CMS Development

paige
Membre

Pop-Up Modal / Form Responsiveness is Broken HELP!

I'm creating a landing page in Hubspot & added customized HTML moduals to create a pop-up modal that includes an email form when clicked on. It works fine but every other page refresh the form moves from the pop-up modal to the bottom of the page. I cant seem to find where the issue in the JS, CSS, or HTML codes are, and suggestions? Can anyone helpe me?!

 

How it should be viewed.

Correct.png

 

How it's viewed very other page refresh. (this is the problem im having, issue highlighted in yellow)

Incorrect.png

0 Votes
2 Réponses
paige
Membre

Pop-Up Modal / Form Responsiveness is Broken HELP!

0 Votes
Jsum
Conseiller clé

Pop-Up Modal / Form Responsiveness is Broken HELP!

@paige,

 

Can you share a link to the page with us? I imagine it might be an issue with your javascript not waiting until your dom is loaded before initiating. I can debug it if I have access to the page. 

0 Votes