Can I anchor a button in an email?

Talia_Reid
Level 2

Can I anchor a button in an email?

Snowbunny.PNG

 

Can I anchor the "Visit our Site" button to take you down further in the newsletter? 

7 REPLIES 7
SanfordWhiteman
Level 10 - Community Moderator

Re: Can I anchor a button in an email?

Talia_Reid
Level 2

Re: Can I anchor a button in an email?

I did search and I still have yet to find how I can link a button to take me down to another part of the email.

SanfordWhiteman
Level 10 - Community Moderator
Prashanth_K
Level 2

Re: Can I anchor a button in an email?

Hi Talia, 

Please use the following code to anchor a button in the email.

<a href="#" style="background-color: #0a4977; color: #ffffff; display: inline-block; font-family: sans-serif; font-size: 13px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 200px; -webkit-text-size-adjust: none;" target="_blank">VISIT OUR SITE</a>

I hope the above is useful to you. Please let me know if you have any questions. 

Thanks, 

Prashanth

SanfordWhiteman
Level 10 - Community Moderator

Re: Can I anchor a button in an email?

The link to "#" doesn't make sense with "VISIT OUR SITE" text.

 

The question is about linking to other elements within the same email, and is answered at the link above.

Prashanth_K
Level 2

Re: Can I anchor a button in an email?

In that case, we need to specify the id of the element separately that would allow the user to go to that element within the page or email.  

SanfordWhiteman
Level 10 - Community Moderator

Re: Can I anchor a button in an email?

Not, in fact, the id, as you will see in the link above.