Popup Form freezed on Gdpr consent frame

Hello,

i created an hubspot newsletter submission popup form on my WP site, on the backoffice side it works perfectly but when i published online, after filled up name and email and goin next to GDPR consent frame, it goin on freeze and i can’t tick the consent checkbox. Anyone knows how i can fix it?? this is my website Stabilimento balneare a Milano Marittima - Attilio Beach the pop up comes out at half page..
Thank so much!!

Ciao Stefano @Steve77 ,

There’s just some clashing CSS between your WP site and the HubSpot form basically.

See the screenshot below, there is CSS in your site targeted to button[type=“submit”]:before - which is absolutely positioning the element. What that’s causing here is for your submit button on the HS popup to be taking up the entire modal window. Notice as you move your mouse over the window, the button style changes, and any attempt to click the GDPR checkbox actually is clicking the button (that’s why you see the HS error message saying the GDPR field is mandatory).

To fix this, you’d need to remove/modify the clashing CSS.

Adding this to the page should fix it, by targeting the submit button on any HS pop-up form and setting its position back to ‘relative’:

.leadinModal-content button[type="submit"]:before {
 position: relative!important;
}

I just tested on your site now and it works with this CSS - you should see a couple of form submissions from me in HubSpot :slightly_smiling_face:

Thanks,

Mike

---
Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange ‘Reply’ button!

It works great!!

Thanks so much Mike, you are Legend!!
16x16_smiley-very-happy.png.png