WordPress.org

Forums

[resolved] a link with no underline? (3 posts)

  1. sallam
    Member
    Posted 3 years ago #

    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

  2. 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/

  3. sallam
    Member
    Posted 3 years ago #

    Many thanks Jan. Worked like a charm!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags