WordPress.org

Ready to get started?Download WordPress

Forums

Changing the look of links (6 posts)

  1. waynestiles
    Member
    Posted 2 years ago #

    Please tell me how to change the look of links. Instead of underlines indicated a link, I want a blue color to do that.

    http://www.waynestiles.com/

    I've tried FireBug, but I really don't understand how it works.

    Thanks for any help you can offer.

  2. James Duffell
    Member
    Posted 2 years ago #

    You could alter your css so instead of

    a {
    text-decortaion: underline;}

    You could use something like

    a {
    border-bottom: 1px solid blue;}

    Or something similar

    ^JD

  3. waynestiles
    Member
    Posted 2 years ago #

    Thank you, James, but I'm still missing something. Here's what I did:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    This seems to have changed nothing. What have I missed?

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    that changed the hover styles for the titles (h tags) such as the linked post titles and the site title;

    - if you can't see it in your browser, you might need to clear the browser cache by reloading the web page a few times or with 'CTRL F5'

  5. waynestiles
    Member
    Posted 2 years ago #

    Ah, okay. So where is the code that I change for hyperlinks in the body?

  6. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    It looks the the links in the text are being created by the following javascript:

    <a href="http://www.merriam-webster.com/dictionary/substitute" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://www.merriam-webster.com']);" target="_blank">substitute</a>

    Interestingly, no styles show up in Firebug on them. Is that a plug-in that links to sources or dictionaries? You'll need to look at that function / code to figure out how to change the style of the linked text.

Topic Closed

This topic has been closed to new replies.

About this Topic