XF 2.2 Underlined Links in Post

Kalidor

Member
I'm trying to get links in posts to be underlined because users don't know when links are present unless they hover over them, which isn't apparent if they don't know if it's a link.

I can go to Page Setup --> Links to adjust the text there, but that affects the entire site, not just posts.

Is there a way to specifically only make links in posts be underlined without having an impact sitewide?

Thanks
 
Solution
Add this to the extra.less template:
Less:
a.link
{
    text-decoration: underline;
}

If you don't want unfurled links to be underlined then use this instead:
Less:
a.link--internal
{
    text-decoration: underline;
}
Back
Top Bottom