landing page | Community
Skip to main content
April 24, 2015
Question

landing page

  • April 24, 2015
  • 6 replies
  • 1929 views
can i only do a landing page in html or are there templates that i can drag and drop? Can i drag and drop I'm going crazy
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

April 24, 2015
You should have templates in your instance..although, you should edit them appropriately. 
April 24, 2015
I've been having a miserable time with the builder and the templates. The documented custom template code errored out when I saved (php error) - this was the provided code! After much trial and error...

Try starting from this if you want to go custom, seems to be working for me:

<!DOCTYPE html>
<html>
    <head>

        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" media="all" href="/css/mktLPSupportCompat.css">

        <style type="text/css">
        #bodyId {
        text-align: center;
        margin: 0px;
        padding: 0px;
        }
        div#outerWrapDiv {
        position: relative;
        height: 100%;
        width: 100%;
        }
        div#innerWrapDiv {
        position: relative;
        padding: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0px;
        text-align: left;
        }
        </style>

        <style>
        div#outerWrapDiv {
            background-color: white;
        }
        /* Note: You can also change these in the specific Landing Pages*/
        /* Width of Full Page */
        div#innerWrapDiv {
        width: 1000px;
        }
        /* Main Content Area - Controls height of page */
        div#mktContent {
        position: relative;
        height: 600px;
        width: 100%; }

        /* Your Custom Styles */
        
        </style>

        <script type="text/javascript">
        function fieldValidate(field) {
        /* call Mkto.setError(field, message) and return false to mark a field value invalid */
        /* return 'skip' to bypass the built-in validations */
        return true;
        }
        </script>

    </head>
    <body id="bodyId" class="mktEditable" align="center">

        <header>
            <!-- I built my header here -->    
        </header>

        <div id="outerWrapDiv" class="mktEditable">
            <div id="innerWrapDiv">
                <div class="mktoContent">
                </div>
                <div id="mktContent" class="mktEditable">
                    <!-- Base of Landing Page Content -->
                    
                </div>
            </div>
        </div>

        <footer>
            <!-- I built my footer here -->
        </footer>

        <!-- /Google Analytics -->

    </body>
</html>
April 24, 2015
Is that a yes or a no? can i ONLY edit in HTML or are there templates that i can drag and drop?
April 24, 2015
how do i get content on the landing page? is there a tutorial?
April 24, 2015
You can try templates.marketo.com and import those.

When you make a new landing page, you choose the template you'd like to apply to it.

Brian
April 24, 2015
You can add your content by editing the page. No drag and drop..sorry. Have you not done the training? should probably take a look at the documents they have provided..