Changing the color of individual links

  • Unknown's avatar

    I am pretty much a novice at CSS, I can usually read it but I can’t write it if you catch my drift.

    I am looking for a way to change to color of the links in my rss feeds on right hand side (Recent comments, latest news, latest reviews) without changing the color of all the other links on my site.

    If it helps I am using the mistylook theme.

    Thanks you for your time any help you have.

    http://sunonthesand.wordpress.com/

  • Unknown's avatar

    Thanks for the link to your blog. Consider linking it in your user name as explained in the sticky, 8 Things, at the top of the forum.

    Let me make sure I understand you. You want to change the color of the links, not the titles, right? Because to change the color of the titles of each of those, you would use:

    #sidebar h2 {
    color:red;
    }
    h2 .rsswidget {
    color:red !important;
    }

    Obviously, use whatever color you want.

    The links themselves are in the list element. Try this:

    #sidebar ul li a {
    color:green;
    }
  • Unknown's avatar

    Apologies about not setting up my profile correctly.

    Thanks so much for your help, it worked perfectly.

  • Unknown's avatar

    Glad to help. But please fix your profile. It will make it much easier in the future.

  • The topic ‘Changing the color of individual links’ is closed to new replies.