How to fix malform page deck error when opening a file

754 views
Skip to first unread message

Google Web Designer beta

unread,
May 4, 2016, 1:58:45 PM5/4/16
to Google Web Designer beta
Problem: If you open a file that was edited by hand and run into this error: "This file contains a malformed page deck. If the file was edited by hand, please make sure there is exactly one page deck containing only pages as children, and make sure each page has a single child with the class gwd-page-content"

Solution: open the html in a text editor and make sure the elements are in the gwd-page-content div.

Example of malformed page deck in a banner ad:

    <div is="gwd-pagedeck" class="gwd-page-container" id="pagedeck">
      <div is="gwd-page" id="page1" class="gwd-page-wrapper gwd-page-size gwd-lightbox" data-gwd-width="300px" data-gwd-height="250px">
        <div class="gwd-page-content gwd-page-size"></div>
        <div>
           This element is causing the issue because it's outside of the element with the class gwd-page-content
        </div>
      </div>
    </div>

Jonnie Grieve

unread,
May 5, 2016, 7:13:22 AM5/5/16
to Google Web Designer beta
So a fixed malforme page deck would look like this?

 <div class="gwd-page-content gwd-page-size">

   <div is="gwd-pagedeck" class="gwd-page-container" id="pagedeck">
      <div is="gwd-page" id="page1" class="gwd-page-wrapper gwd-page-size gwd-lightbox" data-gwd-width="300px" data-gwd-height="250px">
       
        <div>
           This element is causing the issue because it's outside of the element with the class gwd-page-content
        </div>
      </div>
    </div>

</div>

m.wal...@gmail.com

unread,
Jun 10, 2016, 1:30:31 PM6/10/16
to Google Web Designer beta
PO

Message has been deleted

Administrative the Mahfuzur Rahman

unread,
Jan 19, 2018, 7:31:27 PM1/19/18
to Google Web Designer beta
Not found any interesting article about the Global Partners

Administrative the Mahfuzur Rahman

unread,
Feb 8, 2018, 5:48:21 AM2/8/18
to Google Web Designer beta
Not found
Reply all
Reply to author
Forward
0 new messages