Menu icon Foundation
Adding elements before .body table

Hi, I'm working with FFE2 and would like to insert elements before the table.body element, Is this possible?
I've read that this has to do with the > body partial but it does not exist.

Thanks!

foundation for emails 2FFE2.body

Hi, I'm working with FFE2 and would like to insert elements before the table.body element, Is this possible?
I've read that this has to do with the > body partial but it does not exist.

Thanks!

Brad Shomer about 1 year ago

We were able to add a preheader above the table in the layouts file

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <link rel="stylesheet" type="text/css" href="{{root}}css/app.css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>{{subject}}</title>
  </head>
  <body>
    <!-- <style> -->
    <span class="preheader">{{preheader}}</span>
    <table class="body">
      <tr>
        <td class="center" align="center" valign="top">
          <center>
            {{!-- Pages you create in the src/pages/ folder are inserted here when the flattened emails are created. --}}
            {{> grey-spacer-20}}
            {{> body}}
            {{> waw-footer}}
         </center>
        </td>
      </tr>
    </table>
    <br />
    
    <!-- prevent Gmail on iOS font size manipulation -->
   <div style="display:none; white-space:nowrap; font:15px courier; line-height:0;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div>
  </body>
</html>