I've created a Mobile template that includes the code:
<div class="mktoContent" align="center" >
This allows for the template to be centered, but any element I add to the asset (forms, banners, etc) does not center, they remain in the same place I've added them. How do I get elements to adjust to page width?
That's not how "Free-form" landing page templates work. Those templates are just the skeleton of the page. Any content the user drags on in the landing page editor is absolute positioned on the resulting page, meaning it doesn't matter what you've coded into the template since it won't be applied.
Thanks for the response. Do you have a suggestion on how to add forms to a Free-form page? I have all of my content/banners added as tokens, and everything is working perfectly. I need to add a form, however, I'm not sure how to do that so that it does not remain absolute. Perhaps this not how to go about creating a landing page with a form?
Thanks for your help.
Johnine you can strip all the positioning styles from the <DIV id="lpeCDiv_..."> that Mkto inserts to the hold the form, then relocate the form within the DOM... gotta know what you're doing there, though. Can you post the link to your LP?
If the form is going into a fixed region of the page that is already structured, why wouldn't you use a "Guided" landing page for this? Probably more what you're looking for if you don't want people dragging things around.
Sent via mobile
I would use a Guided! I was just saying, if a freeform already exists and needed to be tweaked instead of being replaced, there are desperate measures you can take.
I was wondering if I should be using a Guided Template. And it can still be converted to be Mobile Compatible?
There is no such thing as “Mobile Compatible” for a Guided template, as the look-and-feel of the page is entirely driven by the template. So, if you are using a responsive template that adapts to different screen sizes (like our example templates do https://docs.marketo.com/display/DOCS/GuidedLandingPage+Templates), then your page will already look good on mobile. The “auto create a mobile version of the page” feature only works with Free-form templates.
I see that now.
Retrieving data ...