Solved! Go to Solution.
Just wanted to say that this is perhaps my favorite post ever in Marketo Nation.
Sanford Whiteman, beers on me if we ever should meet.
When using the stripped code featured above, how do you instruct your devs to style the form? They seem to be scratching their heads. Maybe I need new devs.
Well, nothing changes in the original DOM structure. There just aren't any CSS styles applied. It's very easy to inspect the HTML (DIV wrappers, classes, etc.) using the browser's dev tools... so I do kinda wonder what your devs are looking at.
If they want a not only destyled but completely unwrapped set of form elements they could use DOM methods to rearrange it however they like. I do that a lot in my demos. But here the objective is the Marketo form structure + your CSS (and none of theirs).
I can not access your previous post- can you please reshare. I want the form to take on the styling of my website
Try this later Pen: https://codepen.io/figureone/pen/dLqxPG
I also just made a change to get a last element style out of there.