XF 2.1 I want to underline links in emails sent

beerForo

Well-known member
I would like the links in emails underlined. It is using my site's styling, so I know I can put it in extra.less just don't know what to put. Thanks!
 
Last edited:
Solution
I would like the links in emails underlined. It is using my site's styling, so I know I can put it in extra.less just don't know what to put. Thanks!
In your templates page, there are two tabs. One is Public and one is Email. In the Email tab, search Core.less
Find (should be top of list):
a
{
color: @xf-emailLinkColor;
text-decoration: none;
}
and change none for text-decoration to underline
I would like the links in emails underlined. It is using my site's styling, so I know I can put it in extra.less just don't know what to put. Thanks!
In your templates page, there are two tabs. One is Public and one is Email. In the Email tab, search Core.less
Find (should be top of list):
a
{
color: @xf-emailLinkColor;
text-decoration: none;
}
and change none for text-decoration to underline
 
Solution
Hint: If you have a style property inside a template, like @xf-emailLinkColor, then remove the @xf- and search for what remains with the admin cp search (in this case emailLinkColor). ;)
 
Back
Top Bottom