Email - Trying to add icon to a CTA button | Community
Skip to main content
Jul 25, 2018 7:29 PM UTC
Solved

Email - Trying to add icon to a CTA button

Hello All the Marketo People!

Happy Wednesday- trying to figure out how to get add an icon to the CTA button.

1) I want to add a "download icon" to the button

Where will I add this code in the HTML part of the email or actually "edit the code"

I wanted this style.....

thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Dave_Roberts
Dave_RobertsAccepted solution
Level 10
Jul 27, 2018 6:22 PM UTC

Hurray, looks great, glad I could help here.

Would you mind marking my answer as correct when you've got a minute, it'd help my score in the community.

Thanks Nimisha and best of luck!

-Dave

5 replies

Aug 10, 2018 3:05 PM UTC

Thank you Dave! I have no idea how to say answer correct here?

Translate
Dan_Stevens_
Level 10
Aug 10, 2018 3:48 PM UTC

Looks like you found the icon - but you should actually mark the answer that he gave you as "correct" - not his reply/request asking you to mark the correct answer.  Every one of his replies should include this icon:

Translate
Dave_Roberts
Level 10
Jul 26, 2018 1:39 AM UTC

This can depend on how your email is built, but for the sake of example, lets assume you've got a button that looks something like this:

    <td style="a bunch of styles here">

        Button Text

    </td>

You'd want to add an image before the button text, inside the same element (<td>) as the button text, like so:

    <td style="a bunch of styles here">

        <img src="" style="image styles here" /> Button Text

    </td>

You'll want to make sure your image is sized correctly (I'll usually match the height to the font-size) and that it's not any bigger than the line-height of the Button Text, you might notice it getting cut off in email clients like Outlook.

Translate
Jul 26, 2018 3:19 PM UTC

Hi Dave,


Amazing! You don't know you saved me so much time with this tip! I was looking for this for few hours. I appreciate it. Looks like this now:

Translate
Dave_Roberts
Dave_RobertsAccepted solution
Level 10
Jul 27, 2018 6:22 PM UTC

Hurray, looks great, glad I could help here.

Would you mind marking my answer as correct when you've got a minute, it'd help my score in the community.

Thanks Nimisha and best of luck!

-Dave

Translate