2015-03-13 82 views
1

我正在創建自定義mailchimp模板的過程中,但我遇到了一些社交媒體按鈕的問題。Mailchimp活動中的自定義社交共享圖標

*|TWITTER:TWEET|* *|FACEBOOK:LIKE|* 

輸出這樣的:

enter image description here

我需要的是這樣的:

enter image description here

由於這是一個自定義模板,我不能拖放圖標預製進入設計。以下是我嘗試過的一些備選方法:

<a href="http://www.facebook.com/sharer.php?s=100&p[url]=*|ARCHIVE|*&p[title]=*|MC:SUBJECT|*"><img src="~fb_icon~"></a> 

<a href="http://twitter.com/share?url=*|ARCHIVE|*&text=*|MC:SUBJECT|*"><img src="~tw_icon~"></a> 

發送時,網址將從圖像中剝離或在引號之間不返回任何內容。

如果有任何mailchimp專家可以提供一些見解,我會很感激。

回答

1
This worked for me 

<!--my sharer--> 
<p> 
<table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> 
    <tbody> 
    <tr> 
     <td width="35" align="left" valign="middle"><a href="*|RSSITEM:TWITTER_TEXT|*" style="font-size:14px; text-decoration:none;"><img height="30" src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-twitter-96.png" width="30" /></a></td> 
     <td width="58" align="left" valign="middle"><a href="*|RSSITEM:TWITTER_TEXT|*" style="font-size:15px; font-weight:bold; color: #35ABCD; font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; text-decoration:none;">&nbsp;Tweet</a></td> 
     <td width="35" align="left" valign="middle"> 
<a href="http://www.facebook.com/sharer/sharer.php?u=*|FEEDITEM:URL|*"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-facebook-96.png" width="30" height="30" /></a>  
     </td> 
     <td width="80" align="left" valign="middle"><a href="http://www.facebook.com/sharer/sharer.php?u=*|FEEDITEM:URL|*" style="font-size:14px; text-decoration:none; font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight:bold; color: #527BBE;">&nbsp;Facebook</a></td> 
     <td width="35" align="left" valign="middle"><a href="https://www.linkedin.com/shareArticle?mini=true&amp;url=*|FEEDITEM:URL|*&amp;summary=*|FEEDITEM:CONTENT_TEXT|*&amp;source=GWM"><img height="30" src="https://cdn-images.mailchimp.com/icons/social-block-v2/color-linkedin-96.png" width="30" /></a></td> 
     <td width="65" align="left" valign="middle"><a href="https://www.linkedin.com/shareArticle?mini=true&amp;url=*|FEEDITEM:URL|*&amp;summary=*|FEEDITEM:CONTENT_TEXT|*&amp;source=GWM" style="font-size:14px; text-decoration:none; font-family:Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight:bold; color:#206886;">&nbsp;Linkedin</a></td> 
    </tr> 
    </tbody> 
</table> 
</p> 
<!--ends my sharer-->