Help! Cannot get rid of underlines in links (3 posts)

  1. megandowntherabbithole
    Posted 5 years ago #

    Hi...hopefully someone can help me because I'm getting really frustrated. I have already checked a bunch of other posts and can't seem to crack this.

    I cannot get rid of the underlines on the titles of my posts. I have checked the css, and most of the ".entrytitle" entries do have "text-decoration: none" already.

    What I WANT is to get rid of the underline on all links, and have them gray in their normal state and purple when hovered over. After I made some changes the underline disappears, and the DO turn purple on hover, but not in their normal state

    I'm using the Twenty Ten theme, and my site is


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    because text-decoration is not defined for the general links, it takes on the default of underline;

    add this in here in style.css:

    a:link {
    	color: #b7b7b7; text-decoration:none;
    a:visited {
    	color: #743399; text-decoration:none;
    a:hover {
    	color: #c2a9c7; text-decoration:none;

    twenty ten will be overwritten with the next upgrade of your wordpress version;
    definitively consider to create a child theme: http://codex.wordpress.org/Child_Themes

  3. megandowntherabbithole
    Posted 5 years ago #

    Thanks so much! Yeah...I just learned the hard way when I did an upgrade about twenty minutes ago. A bunch of my changes disappeared so I will definitely look into creating a child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic