Embedding Hubspot Forms on Wix
As a Wix Designer, I sometimes run into problems embedding third-party code on my client Wix websites, and I like to share the solutions as I find them.
If you are having trouble in Wix with embedding a Hubspot Form using the HTML widget, you're not alone. My client was dropping the Hubspot Form code into a Wix HTML widget box but it just shows up blank... we couldn't figure out why. But there is an easy fix.
This is a common Hubspot with Wix issue, but has an easy fix!
You simply have to add an underscore “_” at the beginning of the code.
When you do this, the underscore will appear at the top of the form. If you want to get rid of the “_” on the front end, add a font color html to it before and after the underscore. So if your background is white, put this snippet of code in front of your Hubspot code:
So, here is the example Hubspot Form code:
<p style="color:#FFFFFF”;>_</p> <!--[if lte IE 8]>
Easy peasy. Happy Wixing!