• dr ginny

    (@virginia-skinner-linnenberg)


    The color of the links on my website have changed by themselves to blue. When I go to the Appearance/Theme Options site, the color I had chosen is still there. The site has been working fine since I started it last fall. I haven’t made any changes to it in the past couple of weeks except to post new blogs. So I’m baffled. I’m not a programmer or someone very knowledgeable about websites. And I’ve searched the forums about this problem and couldn’t find anything up-to-date to help me. The website is <minorroadtrip.com>. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried deactivating plugins to explore whether any could be responsible?

    Thread Starter dr ginny

    (@virginia-skinner-linnenberg)

    Now I have, but that doesn’t help. (I only have two activated anyway–Jetpack and Mediatagger.)

    Your links have this CSS:

    a:link, span.MsoHyperlink {
        color: blue;
        text-decoration: underline;
    }

    Evidently, that “MsoHyperlink” class is added from copying from Word – are you doing that?

    Just to add to the above, to fix the problem, remove the “span.MsoHyperlink” from your CSS — looks like it’s in the header.php file – there is a whole bunch of Word-added styling there – you should remove all of it.

    And then, avoid pasting anything from Word – it’s not compatible with HTML/PHP or WordPress code — see:

    http://codex.wordpress.org/Editing_Files#Using_Text_Editors

    Thread Starter dr ginny

    (@virginia-skinner-linnenberg)

    Yes, I’ve been using Word since I started the blog last fall. This is the first time I’ve had trouble. I didn’t realize Word was bad. I’ll try to play around with this, even though I have no idea what you’re talking about. Sorry–as I said in the original post, I’m clueless about program code. Thanks so much for your help.

    Thread Starter dr ginny

    (@virginia-skinner-linnenberg)

    To add to the above, I just went through the header-php editor (or at least that’s the file I clicked on) and couldn’t find any “span.MsoHyperlink” listed. Am I looking in the wrong place?

    I’m seeing it in your post content. Open a post for editing in the HTML editor in the dashboard and you might be able to see the M$ formatting carried over from the copy and paste from Word.

    Thread Starter dr ginny

    (@virginia-skinner-linnenberg)

    Thank you, thank you, thank you all!!!! The last suggestion from ClaytonJames sent me to the right spot and the rest of you gave the advice on what to delete. It worked and now I know much more about programming and what not to do. Thank you again.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘link colors changed on their own’ is closed to new replies.