ITSM email notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:40 AM
I want to change the color of the hyperlink in outbound notifications for that i have created a style tag. its working fine in outook however not working in Gmail.
<style>
a:link{ color: #00A59B; text-decoration: none; }
a:visited { color:#50009B; text-decoration: none; }
</style>
Can anyone please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:45 AM
Most of the online mail clients like Gmail strips out the <style> tag content form the email. It is recommended to use inline styles.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:47 AM
If gmail rendering is not working try the below styling:
<style>
a:link{ color: #00A59B !important; text-decoration: none; }
a:visited { color: #50009B !important; text-decoration: none; }
</style>
Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:57 AM
I tried this one also.Its working in outlook not in gmail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 01:49 AM
Thank you for your response.
I have tried inline styling also .Its working for hyperlink color .I want visited link color also. How to define inline visited link color within a tag. Is Vlink works in Gmail. Because it works in outlook.
<a style="color:#00A59B;" href="XYZ">XYZ</a>