# Remove the underline from the links in the Diary template?

I’ve put text-decoration: none in most places where the anchor a” is deﬁned in the style.css ﬁle of the Diary template; but it still won’t go away. What should I change to make a global change such that none of the hyperlinks are underlined?

2 replies Asked Jun 18 '21 at 5:09 · Improve this question

I just wrote a{text-decoration:none;} once in mine, and it’s working for all links. I’ve also added .entry-title{text-decoration:none;}” and I can’t spot an underlined link.

Firstly: sorry, this must have been a frustrating process. In order to improve the appearance of underlines, I used a background-image and text-shadow hack to underline links on that template. You can see the CSS which achieves this in style.css.