WordPress.org

Ready to get started?Download WordPress

Forums

link colors changed on their own (9 posts)

  1. dr ginny
    Member
    Posted 1 year ago #

    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.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

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

  3. dr ginny
    Member
    Posted 1 year ago #

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

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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?

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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

  6. dr ginny
    Member
    Posted 1 year ago #

    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.

  7. dr ginny
    Member
    Posted 1 year ago #

    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?

  8. ClaytonJames
    Member
    Posted 1 year ago #

    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.

  9. dr ginny
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic