Email template buttons | Community
Skip to main content
February 13, 2017
Question

Email template buttons

  • February 13, 2017
  • 2 replies
  • 5795 views

This question is about button styles / links in email templates.

When I create an email with a styled button/link and send a test version, everything looks good. When I save the email as a template and create an email from it, the button style and link is gone and it's back to the default.

Does anyone have any ideas on how to correct this? I'd like to avoid having to change this button and link manually every time.

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Josh_Hill13
Level 10
February 13, 2017

Do you have code or image examples?

Is the CSS in the right place?

February 13, 2017

Hi Josh,

This is the styled button/CTA:

After saving the email as a template and creating a new email from it, this is what I see (default, original template state):

I didn't manually edit the CSS - just used this template option on the right:

If there's a code edit fix or other pointers you have, I appreciate the help.

Thanks!

February 13, 2017

I should add that I've had this same problem happen using two different templates from Starter Templates.

Nicholas_Manojl
Level 8
February 13, 2017

are you putting !important on your inline code?

Did you know, you can "save as template" and edit the page and change the button style to how you want it always?

February 13, 2017

@Nicholas - Yes, but I'm trying to have this button set up as part of the template.

I've been using the template editor tool (above screenshot), not manually editing the code. Do you have a short example of a CTA using !important, as you describe above, that fixes this issue?

Thanks!