Support » How-To and Troubleshooting » [Resolved] How to hide links underline

[Resolved] How to hide links underline

  • Hi everybody
    I have this page where phrases linked to external sites (Visitate il portfolio…) appear with underline and underline itself is changing color when you hover on the phrase.
    How can I avoid the underline to appear?

Viewing 15 replies - 1 through 15 (of 23 total)
  • Try adding this to the end of style.css:

    body.home a:link { text-decoration: none; }

    vtxyzzy thanks
    I tried, but it doesn’t work

    I do not see the line at the END of style.css. Please put it there and leave it so I can see.

    I removed the line since it didn’t wotk, that’s why you don’t see it.
    I will put it back now

    I see the line now, and it appears to be working. Did you clear your browser cache?

    Yes I did, and this morning I checked it again with a different browser+computer but it’s still there (screenshot)

    To make sure we are talking about the same thing, I attach a screenshot of the Dashboard>Pages of what I call Page Title

    I do not see an underline on lines like this:

    > Visitate il portfolio Fabio Thian Photography <

    I checked with FF v12.0. IE v9, Chrome v18.

    Ooops! Sorry vtxyzzy
    as you probably suspected I replied with the wrong samples, I have another thread going on and I mixed up the replies.
    And, of course, you are right, underlines have disappeared from my links!
    Thanks a lot for your help and, once more, please forgive my carelessness.
    BTW, my other thread is about the same page but a different issue, I need to hide the Page Title (see the screenshots I mistakenly posted here). Do you know how to achieve this?

    To hide that page title, try adding this to the end of style.css:

    #post-4 .entry-title { display: none; }

    Grand! thanks again!!!!

    The code for removing the links underline sometime seems not working; I added the same code to the style.css of this page but link is still changing color when hover on it



    Forum Moderator

    Try using Firefox with the Firebug add-on for this kind of CSS work.

    Hi Esmi
    thanks, I installed Firebug but…what should I have to look for exactly??

    You are using two different stylesheets for those pages. There are many changes from one to the other.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Resolved] How to hide links underline’ is closed to new replies.