PDA

View Full Version : Changing the colour of an individual link



OurJud
Mar 13th, 2010, 02:58 AM
I'd like to change the colour of my post title links only.

My blog: http://imgpad.blogspot.com/

You see the post titled 'Text Test' - how would I change the colour of this and my other post titles?

Yes, I do have firebug, and as far as my limited knowledge of css will allow me, it appears to be defined by the h3 attribute. I've changed the colour there but it had no effect. I think all the links are controlled with

a:link, a:visited {
color: #3C78A7;
text-decoration:none;
}
higher up in the template, so I moved the h3 tag above it, without success.

Thanks in advance, as always.

skywalker2208
Mar 13th, 2010, 03:25 AM
You could try add the css below to your style sheet


.post h3 a:link,.post h3 a:visited {
color: #FF0000; /* Should change link color to red. */
text-decoration:none;
}

OurJud
Mar 13th, 2010, 02:37 PM
Thank you, skywalker, that did the trick beautifully! :D