AnsweredAssumed Answered

How to use form embeds on website without any Marketo CSS

Question asked by David Beauchamp on Sep 5, 2019
Latest reply on Sep 9, 2019 by David Beauchamp

I know this question has been asked before a few times, and each time the style removal hack was commented by Sanford Whiteman. I don't see how that is a good solution for this problem. It's a work around that offers a bad user experience. I would like to request that Marketo offers an option when creating forms to allow for no styles to be attached/injected along with that particular form ID.

 

The problem is that we want to embed marketo forms onto our sites and have the option to be able to style the forms ourselves. To do this right now the only solution has been to let Marketo inject all the style tags and inline styles into our site(there is no way to stop this) and then run some javascript to remove/disable the styles so that our own styles can work. There are multiple style tags injected to the document head and multiple inline styles injected to the form. This is a bad user experience to wait for Marketo style injection on page load, and then some more style flickering occurs when we run our own javascript to remove those styles. Can Marketo add an option into the form editor to allow for no styles?

Outcomes