{"id":1,"date":"2021-04-12T17:34:14","date_gmt":"2021-04-12T17:34:14","guid":{"rendered":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/?p=1"},"modified":"2021-04-22T19:25:16","modified_gmt":"2021-04-22T19:25:16","slug":"prevent-email-hyperlinks-turning-purple","status":"publish","type":"post","link":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/2021\/04\/12\/prevent-email-hyperlinks-turning-purple\/","title":{"rendered":"How to prevent clicked hyperlinks in HTML emails from turning purple"},"content":{"rendered":"\r\n<p>Have you ever created a beautiful email from scratch, test it, discover that it works across all email clients and devices that you need it to, only to discover when you are testing your hyperlinks, that after tapping, or clicking, that they turn purple?<\/p>\r\n\r\nOver the past few years, I have used many email platforms, such as Litmus, Constant Contact, Bronto, etc. to send and test HTML emails. When testing hyperlinks on several email clients, I can&#8217;t help but notice the fact that my hyperlinks turn purple.\r\n\r\nIt took some trial and error to figure out how to make this go away, and thankfully, up until now, the problem no longer seems to happen, at least on email clients or devices that I have been specifically asked to test with.\r\n\r\nBelow is a sample snippet of HTML code and the resulting output for common footer hyperlinks that I normally have to use when developing emails for healthcare marketing clients:\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>Have you ever created a beautiful email from scratch, test it, discover that it works across all email clients and devices that you need it to, only to discover when<\/p>\n<div><a href=\"https:\/\/dev.pixelprofessionals.com\/derekbowers\/2021\/04\/12\/prevent-email-hyperlinks-turning-purple\/\" class=\"exp-read-more exp-read-more-underlined\">Read More<\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-html-emails"],"_links":{"self":[{"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":32,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":4079,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/posts\/1\/revisions\/4079"}],"wp:attachment":[{"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.pixelprofessionals.com\/derekbowers\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}