changing color of links in text widget (html)

  • Author
  • #366826



    I’d like to change the color of the link in my text-widget, the one on the right that holds a little info on me. I’ve managed to add some html coding to the rest of the paragraph, such as font and alignment. I’ve tried

    <BODY LINK=”#000000″>text</BODY>

    <BODY VLINK=”#000000″>text</BODY>

    to change the color of the link to black, both before and after they are clicked, but it does not seem to change anything. Is there a reason why this shouldn’t work? Is the coding wrong?

    Thanks for any input,

    The blog I need help with is


    Yes, the coding is wrong. And you shouldn’t change the color to black: links must be distinguished in color, so that one can see it’s clickable instead of plain text.

    And please paste the exact URL of your blog when asking questions here, or link your nickname to your blog (as explained in the Sticky 8 Things to Know Before Posting). Helps us help you.



    Oh dear, I thought it was already linked… I’ve fixed it now, and thank’s for pointing that out!

    Ok, so what would the correct coding be for, say, red for the links? (good point about not using black) What is incorrect about the coding I pasted in the post above?



    This FAQ explains how to change font, font size, and color: .


    My suggestion though is to open a new post in the editor, format your widget text there, then when done, switch to the HTML tab and copy out the code and paste it into the widget. Much easier and quicker, and you get to see the changes as you do them.


    If you prefer to do it directly in the text widget, this is it:
    <a href="URL_HERE"><span style="color:#HEX_HERE;">NAME_HERE</span></a>

    For colors and hex numbers you can consult this:

    For other stuff that you might find of use, you could check this post of mine:



    Thanks for the links and suggestions guys! Panaghiotisadam – what a resource you have in your post on codes!

    I finally went in and changed the color for each link in this way:

    Find me on < a href=””>< FONT COLOR=”#570C6E”> flickr. < /FONT>< /a>

    (spacing added to make the formatting actually show up)

    I don’t quite understand what “span” controls in html, but the command looks fairly similar to the other one I found, and I assume they work in the same way.

    Thanks for the help!

The topic ‘changing color of links in text widget (html)’ is closed to new replies.