Support » Themes and Templates » a link with no underline?

  • Resolved sallam

    (@sallam)


    Greetings everyone!

    I’m using the F2 theme. I’m trying to make a links without an underline. The style.css file has:

    a {
    color:#444444;
    text-decoration:none;
    }

    Yet, there is still a pale underline showing under all links. Why is that? where is that pale underline coming from?
    How do I remove the underline completely?

    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    That only looks like an underline, but it’s really a border.

    You really should create a child theme but here goes: change line 334 in wp-content/themes/f2/style.css

    .postentry a {
    	border-bottom:1px solid #ddd;
    }

    to

    .postentry a {
    	border-bottom:none;
    }

    Also, using Firebug is a great way to identify these CSS rules.

    http://getfirebug.com/

    Many thanks Jan. Worked like a charm!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘a link with no underline?’ is closed to new replies.