Kosta Welissariou
asked 8 years ago

the wired magazin has a cool feature where they have managed to show a cool blue underline under each link. I would love to have the same feature.
Wherever I place the code the “blue line” shows up everywhere. Header – sidebar – footer etc.
I would like to show this only in posts, now where else. Any advise if this is possible to implement at all ?
Where to place the code in the theme ?
If you like the wired style, I have this link to generate the code
tks for your help

1 Answers
answered 8 years ago

Which theme are you using? in your case, you can try the following code, please add the code to the style.css file:

+ In the single post:

.single-post .entry-content a {
     color: blue;
     text-decoration: underline;
.single-post .entry-content a:hover  {
     color: #fff;
    background-color: blue;

+ Page, archive:

.page a, .archive a {
     color: blue;
     text-decoration: underline;

NOTE: You need send me your site url for further checking and I will help you fix it.

Powered by DW Question & Answer Pro