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

I've put text-decoration: none in most places where the anchor "a" is defined in the style.css file 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

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.

Answered 2 years ago · Improve this answer

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.

To remove the underlines, you want to remove most of what's between lines 158 and 187 of style.css.

Answered 2 years ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us
Subscribe for changes
RSS Feed of latest questions