• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 MAIL _CONTAINER template modifications

tommydamic68

Well-known member
#1
Hopefully someone can steer me in the right direction. I am trying to customize my site mailings to match my website better. I was able to get this far and can't find these colors or color links in the MAIL_CONTAINER template. Is it possible there in a other template?
  • All the "blue" links.
  • The view conversation button and the light colored strip it resides in with the two blue borders
  • The 2 light blue colored areas around the avatar
Thanks in advance.

Screen Shot 2014-11-02 at 8.16.05 AM.png

Code:
<html lang="{$emailLanguage.language_code}" dir="{$emailLanguage.text_direction}">
<head>
    <meta charset="UTF-8" />
    <base href="{$xenOptions.boardUrl}/" />
    <title>{xen:raw $subject}</title>
</head>
<body dir="{$emailLanguage.text_direction}" text="#141414" bgcolor="#F0F0F0" link="#176093" alink="#176093" vlink="#176093" style="padding: 10px">

    <table cellpadding="0" cellspacing="0" border="0" dir="{$emailLanguage.text_direction}" style="
        background-color: #F0F7FC;
        border: 1px solid #C7C5BC;
        border-radius: 5px;
        direction: {$emailLanguage.text_direction};">
    <tr>
        <td style="
            background: rgb(13, 13, 14) url('http://sphynxlair.com/community/styles/sphynxlair/xenforo/sources/subheadingbg.png') repeat-x top;
            padding: 5px 10px;
            border-bottom: 1px solid #C7C5BC;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
            font-size: 11px;
            line-height: 1.231;">
            <a href="{xen:link canonical:index}" style="color: #e0ded4; text-decoration:none">{$xenOptions.boardTitle}</a>
        </td>
    </tr>
    <tr>
        <td style="
            background-color: rgb(239, 237, 225);
            padding: 1em;
            color: #141414;
            font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
            font-size: 13px;
            line-height: 1.231;">
            {xen:raw $bodyHtml}
        </td>
    </tr>
    <tr>
        <td style="
            background: rgb(13, 13, 14) url('http://sphynxlair.com/community/styles/sphynxlair/xenforo/sources/subheadingbg.png') repeat-x top;
            padding: 5px 10px;
            border-top: 1px solid #C7C5BC;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            text-align: {xen:if $emailIsRtl, left, right};
            font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
            font-size: 11px;
            line-height: 1.231;">
            <a href="{xen:link canonical:index}" style="color: #e0ded4; text-decoration: none">{xen:link canonical:index}</a>
        </td>
    </tr>
    </table>  

</body>
</html>
 
Last edited: