【发布时间】:2015-12-15 13:04:57
【问题描述】:
我创建了一个带有可编辑区域的 MailChimp 模板。
我已经为所有内容设置了内联样式,并且我有一个可编辑的按钮:
<!-- button -->
<table class="button" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff" style="border-spacing: 0;font-family: Roboto, 'Times New Roman', Times, serif;border-left:1px solid #24303f;border-right:1px solid #24303f;border-bottom:1px solid #24303f;border-top:1px solid #24303f;margin:0 auto;min-width:248px;text-align:center;">
<tr style="font-family:Georgia, 'Times New Roman', Times, serif;">
<td height="40" style="border-collapse: collapse;font-family: ColdLilies-Regular, Georgia, 'Times New Roman', Times, serif;"><table class="table-inner" border="0" align="center" cellpadding="0" cellspacing="0" style="border-spacing: 0;font-family: Roboto, Georgia, 'Times New Roman', Times, serif;">
<tr style="font-family:Georgia, 'Times New Roman', Times, serif;">
<td align="center" style="font-family:Georgia, 'Times New Roman', Times, serif;font-size:19px;color: #24303f;border-collapse: collapse;padding-left:35px;padding-right:35px;" class="variable-width-button-container">
<a href="#" style="color: #24303f;text-decoration: none;font-family: Georgia, 'Times New Roman', Times, serif;font-size:19px;font-weight:normal;padding-top:10px;padding-bottom:10px;text-transform:uppercase;text-align:center;" mc:edit="Centred Button" class="variable-button">
View More
</a>
</td>
</tr>
</table></td>
</tr>
</table>
<!-- end button -->
如您所见,我使用mc:edit="Centred Button" 使按钮可编辑。我还设置了内联链接的样式。
当我使用 MailChimp 界面并编辑按钮时,编辑文本很好并保留了样式,但是一旦我更改链接 URL,它就会变成蓝色并带有下划线。
即使将编辑器切换到源代码并插入内联样式也不会解决问题。 MailChimp 没有解决方案。
【问题讨论】:
标签: html-email mailchimp