【问题标题】:Sections not displaying in email template电子邮件模板中未显示的部分
【发布时间】:2019-05-02 01:25:15
【问题描述】:

我不知道发生了什么。这些部分显示在预览和测试电子邮件中,但是当我将模板添加到活动时,突然联系和 Facebook 部分消失了。为什么。当我将它添加到广告系列时,它为什么会消失,这是没有意义的。这是当我将电子邮件模板添加到活动时消失的部分。桌子有问题吗?我查看了 CSS,几乎没有。

    <!-- Facebook Recommendation -->
                    <div mc:repeatable="Select" mc:variant="facebook recommendation">
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#231C15">
                        <tr>
                          <td valign="top" align="center" class="p30-15" style="padding:60px 0px 60px 0px;">
                            <table width="650" border="0" cellspacing="0" cellpadding="0" class="mobile-shell">
                              <tr>
                                <td class="td" style="width:100%;font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;">
                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <th class="column" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td class="h3 pb20" style="color:#fff;font-family:Roboto, Arial, sans-serif;font-size:40px;line-height:40px;text-align:center;font-weight:bold;padding-bottom:20px;">
                                              <div mc:edit="text_16">Recommend us on Facebook!</div>
                                            </td>
                                          </tr>
                                          <tr>
                                            <td class="text pb20" style="color:#fff;font-family:Roboto, Arial, sans-serif;font-size:15px;line-height:30px;text-align:center;padding-bottom:20px;">
                                              <div mc:edit="text_18">Recommend us on our Facebook page! This ensures we can reach even more people to provide the best possible care during their move! </div>
                                            </td>
                                          </tr>
                                          <!-- Button -->
                                          <tr mc:hideable>
                                            <td align="center">
                                              <table border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                  <td class="text-button" style="background:#fff;color:#231C15;font-family:Lato, Arial, sans-serif;font-size:14px;line-height:18px;padding:12px 20px;text-align:center;letter-spacing:1px;font-weight:600;text-transform:uppercase;border-radius:22px;">
                                                    <div mc:edit="text_19">
                                                      <a href="https://www.facebook.com/pg/Moveoxforduniversity/reviews/" target="_blank" class="link-white" style="color:#ffffff;text-decoration:none;"><span class="link-white" style="color:#231C15; text-decoration:none;">RECOMMEND US</span></a>
                                                    </div>
                                                  </td>
                                                </tr>
                                              </table>
                                            </td>
                                          </tr>
                                          <!-- END Button -->
                                        </table>
                                      </th>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </div>
                    <!-- Facebook Recommendation -->
                    <!-- Contact -->
                    <div mc:repeatable="Select" mc:variant="Contact">
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f4f4f4">
                        <tr>
                          <td valign="top" align="center" class="p30-15" style="padding:30px 0px 0px 0px;">
                            <table width="650" border="0" cellspacing="0" cellpadding="0" class="mobile-shell">
                              <tr>
                                <td class="td" style="width:100%;font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;">
                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td class="h3 center pb15" style="color:#000000;font-family:Roboto, Arial, sans-serif;font-size:24px;line-height:32px;font-weight:bold;text-align:center;padding-bottom:10px;">
                                        <div mc:edit="text_37">Contact Us</div>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td class="text-center pb30" style="color:#777777;font-family:Roboto, Arial, sans-serif;font-size:15px;line-height:30px;text-align:center;padding-bottom:20px;">
                                        <div mc:edit="text_38">Looking to make another move? <br>Give us a call!</div>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td align="center" style="padding-bottom:50px;">
                                        <table border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <th class="column-top" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;vertical-align:top;">
                                              <table class="center" border="0" cellspacing="0" cellpadding="0" style="text-align:center;">
                                                <tr>
                                                  <td class="img" width="50" style="font-size:0pt;line-height:0pt;text-align:left;"><img src="https://gallery.mailchimp.com/0d9e3bf61406dcc2f6b321e6d/images/1a994bda-97c5-4ebf-b478-de1e3e2e6d6c.png" width="34" height="34" style="max-width:34px;" border="0" alt="" mc:edit="image_20">
                                                  </td>
                                                  <td class="text" style="color:#777777;font-family:Roboto, Arial, sans-serif;font-size:16px;line-height:30px;text-align:left;">
                                                    <div mc:edit="text_39">
                                                      <a href="tel:8556244537" target="_blank" class="link" style="color:#777777;text-decoration:none;"><strong class="link" style="color:#777777;text-decoration:none;">855-624-4537</strong></a>
                                                    </div>
                                                  </td>
                                                </tr>
                                              </table>
                                            </th>
                                            <th class="column-empty2" width="30" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;vertical-align:top;"></th>
                                            <th class="column-top" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;vertical-align:top;">
                                              <table class="center" border="0" cellspacing="0" cellpadding="0" style="text-align:center;">
                                                <tr>
                                                  <td class="img" width="50" style="font-size:0pt;line-height:0pt;text-align:left;"><img src="https://gallery.mailchimp.com/0d9e3bf61406dcc2f6b321e6d/images/9e146158-5e5d-4d4d-a99e-02f32506799a.png" width="34" height="34" style="max-width:34px;" border="0" alt="" mc:edit="image_21">
                                                  </td>
                                                  <td class="text" style="color:#777777;font-family:Roboto, Arial, sans-serif;font-size:16px;line-height:30px;text-align:left;">
                                                    <div mc:edit="text_40">
                                                      <a target="mailto:service@moveandstore.com" class="link" style="color:#777777;text-decoration:none;"><strong class="link" style="color:#777777;text-decoration:none;">service@moveandstore.com</strong></a>
                                                    </div>
                                                  </td>
                                                </tr>
                                              </table>
                                            </th>
                                          </tr>
                                        </table>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" dir="rtl" style="direction:rtl;">
                                          <tr>
                                            <th class="column" dir="ltr" width="433" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;">
                                            </th>
                                            <th class="column-empty" dir="ltr" width="40" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;vertical-align:top;"></th>
                                            <th class="column" dir="ltr" style="font-size:0pt;line-height:0pt;padding:0;margin:0;font-weight:normal;">
                                            </th>
                                          </tr>
                                        </table>
                                      </td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </div>
                    <!-- END Contact -->

【问题讨论】:

    标签: html css html-table html-email mailchimp


    【解决方案1】:

    好的 - 根据我对 MailChimp 的有限了解,我想我偶然发现了一些东西。 我在您的表格中看到您有 mc:repeatable="Select" 属性。从 MailChimp 帮助部分 - 这表示除非用户通过活动构建器添加它,否则它将自动隐藏。

    将 mc:repeatable 属性添加到包含 mc:edit 属性的任何区域,以创建可以重复添加到模板的内容块。可重复的内容区域默认是隐藏的,因此它们只有在您将它们添加到 Campaign Builder 时才会出现在模板中。

    来源:Mailchimp help (create editable content areas with mailchimps template language)

    【讨论】:

      猜你喜欢
      • 2012-12-09
      • 2015-06-10
      • 1970-01-01
      • 1970-01-01
      • 2019-05-04
      • 1970-01-01
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      相关资源
      最近更新 更多