Button text not getting changed in notification

imran sk
Tera Contributor

Hello Community,

 

I am creating button that should be visible on notification through email script. Using button I'm calling notification template. 

 

everything is working as expected. its just that i am not able to change the button text color.

Note: button text comes from the notification template 

 

here is my script:

var buttonLink = '<table style= "background-color: #B8B8B8; border:none; color: #ffffff; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px: margin: 4px 2px: cursor: pointer; border-radius: 5px;"><tr><td>${mailto:mailto.btn.markcomplete}</td></tr></table>';
template.print(buttonLink);
 
 
can someone help me here. thanks in advance
1 REPLY 1

imran sk
Tera Contributor

only the text color needs to be changed