Site logo

Archived topic

Underline of text containing links in blogposts

3 replies · Started by Johan on July 5, 2018

Viewing posts 1–4 of 4

When I am writing my blogposts, I often add links to other sites and news articles. How can i make the text with the links underlined for better readability?

Hi there, this CSS should do the trick:

.entry-content a,
.entry-content a:visited,
.entry-content a:hover {
    text-decoration: underline;
}

Error message:
(Using this plugin: https://wordpress.org/plugins/code-snippets/)

"Don't Panic

The code snippet you are trying to save produced a fatal error on line 1:
syntax error, unexpected '.', expecting end of file

The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.

Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site."

This archived topic is closed to new replies.