Can't remove underline from links

  • Author
    Posts
  • #1282749

    janepell
    Member

    Hi, I use Tarski theme with custom CSS.

    I tried pasting this code but it won’t remove the link underline.

    a:link,a:visited,a:active {
    color: #6666cc;
    text-decoration: none;

    Any ideas on what I’m doing wrong?

    Thank you.

    The blog I need help with is enoughgood.wordpress.com.

    #1282835

    justpi
    Member

    This won’t work because the underline on Tasrki isn’t an an underline, it’s a bottom border. Try this:

    .content a:link, .content a:active, .content a:visited, .post-content a:link, .post-content a:active, .post-content a:visited, .comment-content a:link, .comment-content a:active, .comment-content a:visited, #blurb a:link, #blurb a:active, #blurb a:visited, .recent p a:link, .recent p a:active, .recent p a:visited {
    border-bottom: 0 none;
    }

    #1282865

    janepell
    Member

    Thank you. That worked.

The topic ‘Can't remove underline from links’ is closed to new replies.