When using the Email Designer (launched in 2022), if your text or link color is a different color when it arrives in the inbox, you can check the code with the built-in code editor to resolve the issue.
Take note
- This is for advanced users only
- The ActiveCampaign Customer Experience Team is not able to help you implement or troubleshoot any code
How to fix the text or link color
- From the Design tab of your campaign, click into the text box with the issue.
- Click the code editor icon on the top right.
- Look for the text or link with the issue in the code.
- If the text is wrapped with in a paragraph <p> tag, change the <p> into a <span> tag.
For example:
<pstyle="color: #ffffff">Foobar<p>
Change to:
<spanstyle="color: #ffffff">Foobar<span>
- Test your email to confirm the fix.
This happens because email clients such as Gmail and Outlook can strip the style attributes in the paragraph tag when the email is rendered into the inbox. This may not happen every time as each email client has their way of rendering emails. Changing the paragraph tag to a span tag fixes this issue.