I have created some custom email templates. In one of the templates I use the shortcode [EVENT_LINK]. Just like all the other links in an email the default hex color code of the link which is generated by this shortcode is #2BA6CB.
By using inline styling I am able to use a different color for links I’ve created myself in the custom email template. However, as for as I know, this is not the case for the link which is generated by the shortcode [EVENT_LINK].
Google Inspector shows that the contrast of color #2BA6CB on a white or light grey background is very poor. That’s bad for accessibility.
I have two questions:
1) Is it possible, by using inline styling (not by creating a whole new email template variation), to change the default color of the link which is generated by shortcode [EVENT_LINK]?
2) If not, I would like to submit a Request for Change. In a future update of EE4, could you please change the default link color in the generated emails from #2BA6CB (light blue) to a darker shade of blue? For example: #2271b1 or #1565c0 or #1a0dab.
My apologies, I created a ticket to discuss this further and then didn’t update your thread with a solution (no idea why!).
1) Is it possible, by using inline styling (not by creating a whole new email template variation), to change the default color of the link which is generated by shortcode [EVENT_LINK]?
This is possible, but you’ll basically need to build out your own event link and you can do that using the [EVENT_URL] shortcode, for example:
Should output the same URL but with inline styles for the colour requested above.
Is that what you are looking for?
2) If not, I would like to submit a Request for Change. In a future update of EE4, could you please change the default link color in the generated emails from #2BA6CB (light blue) to a darker shade of blue? For example: #2271b1 or #1565c0 or #1a0dab.
This is something I have opened an internal ticket to discuss further.
The support post ‘Styling link of shortcode in Messages System EE4 | Accessibility’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.