How to make lpdCDiv elements take plce INSIDE HTML templates main blocks such as mktContent or mktHeader?

Marie_Ligier
Level 4

How to make lpdCDiv elements take plce INSIDE HTML templates main blocks such as mktContent or mktHeader?

We've set a new Landing Page template, very simple, based on the default template.
We added a new div on top of thc content one, it has the class MktEditable too, and we want to put text in it.

However, when we add a rich text block on it, with the marketo landing page editor, it goes ON the page, not IN the div. Once published, our code looks like that http://cl.ly/image/3V1T0v3J2c1n (ignore the multiple footer elements, for test). The .lpeCDiv_xxxx elements are sibling to the Header, Footer and Content elements, instead of being their childs. We would like them to be their childs, with dependance, for the zones to adapt their size considering the length of text we add.

Are we missing something, that would allow us to place elements INSIDE HTML elements of the template?
Marie
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: How to make lpdCDiv elements take plce INSIDE HTML templates main blocks such as mktContent or mktHeader?

Hey Marie - I believe the class MktEditable is only for emails, not for landing pages.

Instead of dragging in rich text blocks to "enter" the <div> (i.e., as separate page elements), another way is to code all the blocks in the same HTML element, then have a CSS piece with classes that define how different blocks should act.

Vicky