Blue Links problem in Blogger

March 13, 2009

One of the frequent problems in Blogger is that sometimes, a single post or a mistake in your HTML code, can turn the default link color of your Blog, into blue.
If this happens, you'll notice it immediately... The first thing everybody would do is:
LAYOUT ► FONTS AND COLORS ► I'll change that misbehaving blue link into whatever I want!
But, you'll notice that no matter what color you choose, your Links will still be - blue.


WHY DO LINKS IN BLOGGER TURN INTO BLUE, ANYWAY?
There are two main reasons:

► if you copy-paste your post content from Microsoft Word
► if you tweak your Blogger HTML code, and make a mistake (even a small one)...



I think that in 99% of all cases I've came around the problem was in Microsoft Word.

Let's see way is this happening. I made a test:
Compose in Word Copy from Word Paste in Blogger

composing post in word

copying text from word

pasting into blogger
...that should be alright, and it's quite simple really. I've Published the post, and clicked on View Blog, and there it was:
What happened? When I copied the text from Microsoft Word, and pasted it into Blogger compose window, everything seemed all right. But, clicking on the EDIT HTML tab, you'll see that the text wasn't the only thing that was copied from word:

Also, all the HTML formatting (from Word) was copied in Blogger, and therefor, "destroyed" the default Blogger settings...

Clicking on the EDIT HTML tab:

...this is the code I see:
Click here to expand the code
<meta equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUMip_filelist.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowext>false</w:AlwPlaceholderText> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" latentstylecount="156"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <p class="MsoNormal"><b style="">Lorem ipsum</b> dolor sit amet, consectetur adipiscing elit. <span style="" lang="IT">Aenean vulputate, leo eu ornare varius, orci nisl sollicitudin mauris, quis commodo urna erat quis orci. Duis gravida semper quam. Aliquam eu dolor non elit egestas volutpat. Vivamus �aliquet� arcu non felis. Curabitur in sapien. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="IT"><o:p> </o:p></span></p> <p class="MsoNormal"><i style=""><span style="" lang="IT">Aliquam erat volutpat. Praesent elementum nisi id odio.</span></i><span style="" lang="IT"> Curabitur est arcu, lobortis quis, euismod ut, convallis fermentum, est. Proin at est. In quis neque. Cras pellentesque convallis mi. Nulla dictum libero a nulla. <a href="http://www.google.com/search?q=blogbulk.com&amp;rls=com.microsoft:en-US&amp;ie=UTF-8&amp;oe=UTF-8&amp;startIndex=&amp;startPage=1">Mauris vestibulum</a> est. Duis dapibus pellentesque eros. Nullam ullamcorper leo commodo ipsum. </span>Maecenas consectetur arcu a enim. Suspendisse potenti. <a href="http://www.google.com/">Fusce turpis</a> neque, bibendum at, posuere a, faucibus id, velit.</p>

...wow! Isn't that something! What you see here is 70% unnecessary lines of HTML code messing up (overriding) your Blogger layout completely, and causing your links to turn blue.

This is how the code looks like when you compose and format your post in Blogger:
Click here to expand the code
<span style="font-weight: bold;">Lorem ipsum</span> dolor sit amet, consectetur adipiscing elit. Aenean vulputate, leo eu ornare varius, orci nisl sollicitudin mauris, quis commodo urna erat quis orci. Duis gravida semper quam. Aliquam eu dolor non elit egestas volutpat. Vivamus 'aliquet' arcu non felis. Curabitur in sapien.

<span style="font-style: italic;">Aliquam erat volutpat. Praesent elementum nisi id odio.</span> Curabitur est arcu, lobortis quis, euismod ut, convallis fermentum, est. Proin at est. In quis neque. Cras pellentesque convallis mi. Nulla dictum libero a nulla. <a href="http://www.blogbulk.com/">Mauris vestibulum</a> est. Duis dapibus pellentesque eros. Nullam ullamcorper leo commodo ipsum. Maecenas consectetur arcu a enim. Suspendisse potenti. <a href="http://google.com/">Fusce turpis</a> neque, bibendum at, posuere a, faucibus id, velit.

...much cleaner, right?

SO, HOW TO FIX THIS?
First, you'll have to determine when this happened. If the blue-link-error occurred when you've published your latest post, than that certain post IS a problem.
Your options are:

DO NOT USE WORD (or similar text editors)
This is for the future's sake.
EDITING THE POST
Edit the post, and:
► in Compose mode - CUT the text, and Paste it into Notepad (Textedit for Mac), or any other decent HTML editor
► click on Edit HTML mode - DELETE everything you see!
► Copy the text from Notepad (Textedit) into Blogger (Compose mode)
► format it there (stylize)

IF YOU WANT TO KEEP USING WORD
This is also possible. You can keep your formatting, and force the links to appear in default color. The only disadvantage is that your posts will be full of unnecessary (junk) code. If you don't mind this, here's what you have to do.
The idea is to add the !important tag in the CSS style of your Links, and it this will override the Word formatting:
► go to LAYOUT ► EDIT HTML ► and locate your Link style. Here's the example for Blogger default template:
a:link {
color:$linkcolor;
text-decoration:none;
}
a:visited {
color:$visitedlinkcolor;
text-decoration:none;
}
a:hover {
color:$titlecolor;
text-decoration:underline;
}
..and after tweaking:
a:link {
color:$linkcolor !important;
text-decoration:none;
}
a:visited {
color:$visitedlinkcolor !important;
text-decoration:none;
}
a:hover {
color:$titlecolor !important;
text-decoration:underline;
}
...in orange, you can see where to place the tag...


BLUE LINK CAUSED BY CODE TWEAKING
This is rare, but also can happen. There's no much to say, because these errors are quite individual and different from case to case. The best thing you can do is:
► always backup your template (for the future)
► try to remember what was the last tweak (change) you've made in your code, and try to undo it
► validate your HTML code and CSS:
Online validator
► ask for the help from a professional (or someone who could know).
Blogger Help Group


That's about it.....

post signature
Face It! Tell Your Tweets Digg It! Add to Delicious Stumble Upon I Reddit! Mixx it Up! Add to Your Faves

34 comments:

or said...

it is useful.

Asker said...

Don't forget me
I'm waiting
Please find solution ok.Please

Radith Prawira said...

when i check my blog to online validator, i got 390 errors and 99 warnings , LOL

--

somehow i prefer blue as the link color but i managed to changed it ( don't remember how i'm done it ) maybe bcause i made several customization.

can you tell how to change the color of the text ( post ) when it's in hyperlink? i got grey pale on it.

btw, i made a post about you , hope you don't mind but if you're not ok with it, pls tell me

Here's the link : Where To Find The Right Blogger-Guru?

pocket said...

Radith,

..you are so sweet! Of course I don't mind, and I never will...

About those links. You have light blue Links for active, and pale gray for visited. If you want to use specific Link color just for your Post section, you'll have to create a new style for it, and place it in CSS:

.post-body a {
color:#0066CC;
text-decoration:none;
}
.post-body a:visited {
color:#b3b3b3;
text-decoration:none;
}
.post-body a:hover {
color:#0066CC;
text-decoration:underline;
}

..adjust the colors and styles to whatever suits you....
:]

Radith Prawira said...

my friend once asked me so i deicded to wrote a post about you along with other guru, glad to know you're okay with it :)

--

still no luck, the hyperlink text still in pale gray.. dunno what's wrong, i'll try to figure it later as i'm so sleepy right now, hhehe.

Success,
Radith ^_^

Addeena Dzakwan said...

hello pocket, can u show me how to make the two columns turn into equal height? i Google about them but none of them works.

pocket said...

Addeena,

..what two columns? Where?
:|

pocket said...

Radith,

your visited link color is pale gray, and because you've visited all of those links, they will always be displayed in gray.

1. Try to change the visited link color of posts (in the new code) into white

2. Your active link color should start with this line:

.post-body a {

..not the one you have now...

Addeena Dzakwan said...

no, what i meant is how to make our columns in blogspot turn into equal height depending on the longest post. like yours in this blog at the bottom before the footer.

try check this out, maybe it helps you to figure what i wanted to point out;)

http://img6.imageshack.us/img6/7227/19870478.png

pocket said...

Ok, Addeena...

Basically, you have to make a new "div" element, place it in the footer, adjust it, give it some style (in CSS), make sure that it works in different browsers...

If you know a bit of HTML, you'll manage...Trial and error.
I will make a tutorial where this will be explained, but you try yourself in the meantime.
pocket

Radith Prawira said...

i'm using my sister laptop now, i don't know it has something to do with it or not, but it has changed the way i want to. Thx again pocket :)

Addeena Dzakwan said...

thanks again pocket;)

[v] said...

thnq thnq thnq

u solved my most annoying thing that has been troubling me for the past few months

pocket said...

[v],

...I'm glad to hear that...
:]

Shar0n [♥] 恩 said...

thanks for the tips..but i still couldn't change it..but when i click it..it will turn into what colour i have set for my "visited link colour"..so do you know what happen to that?

SchreiberBike said...

After I figured out the problem on my blog, I found that you had already identified it and shown how to solve it. Wish I'd read this first.

Anonymous said...

THANKS!!!

CLW said...

I realize I p/u some code that changed my links to red. Unfortunately I deleted what I thought was the culprit new postings before I found this answer so I am unsure of how to fix this now as the red color remains. Forcing it to turn blue makes everything including the post title turn blue. Maybe you could suggest a pro that I could contact to assist in repairing.

CLW said...

Just to follow up. I managed to correct the problem. By process of elimination I removed any cut and paste postings via html edit, pasted into Notepad and then back into the html edit. Took a little time but I knew it was a recent post and did indeed finally hit it. Success.

Parker and Carly said...

THANK YOU THANKS YOU THANKS!!!!!

Blog Goddess said...

I have to say i'm impressed by your knowledge and how well you explain your post topics. Very Cool!

miss -V- said...

great!!!!!!!!!!!!!!

thx

FAN said...

Wonderful tuition. Thankyou very much! I use alot of foreign texts in my posts (namely arabic and hebrew) so avoiding Word is difficult, but the 'important' tag worked a treat.

Sheetal said...

Hi there, please help! On my main page, my links (Leave a comment, labels, archive) are all blue, but if I click on an individual post then it looks fine I have no idea what to do & I'm not familiar with HTML to check if something's wrong.

Charlie said...

Thank you very much This a very helpful tips for me,Thanks bother :)

Anonymous said...

This was very useful - thanks!!!!

Victoria Fine said...

Thanks so much for posting this tutorial, this was driving me CRAZY! Now i feel so much better!

Anonymous said...

I like your blog !!Thank you. They are really great .
do not miss my goods , they are very beautiful !!
Fashion watches
Discount watches
Antique pocket watches
Engraved pocket watches

Anonymous said...

http://scandalschool.blogspot.com/

majena mafe said...

thanks a big lot your help turned a sea of turgid blue links (no no no!!) into a vision of loveliness 'pink' again

moey said...

thanks for your article, it helpful for my
blog

mbt shoes said...

Do you like MBT shoes online MBT chapa buy it MBT chapa shoes with MBT lami free MBT lami shoes shipping MBT kaya over MBT kaya shoes us,we MBT M.Walk sell MBT m walk shoes on line mbt men shoes for mbt women shoes and vibram five fingers sale vibram five fingers sale is our discount vibram five fingers best cheap vibram five fingers choice cheap MBT chapa shoes thank cheap MBT lami to cheap MBT lami shoes see cheap MBT kaya it cheap MBT kaya shoes you can cheap MBT M.Walk go cheap MBT m walk shoes by cheap mbt men shoes click cheap mbt women shoes

Drive Wedge Putt said...

Thanks very much, good article and helped me a lot.

Anonymous said...

Have comfortable mbt shoes
equal to have health have suitable mbt shoes
qual to have health and have comfortable mbt lami shoes
equal to have health and have suitabl mbt lami shoes sale
equal to have health have a suitable mbt lami
equal to have a good health have a comfortable mbt m.walk shoes
equal to have health have comfortable mbt m.walk shoes sale
equal to have health havea suitable mbt m.walk
equal to have health have comfortable mbt chapa shoes
equal to have health have suitable mbt chapa shoes sale
equal to have health have comfortable mbt chapa
equal to have health have suitable mbt kaya shoes
equal to have health have comfortabl mbt kaya shoes sale
equal to have health have suitable mbt kaya
equal to have health have comfortable mbt moja shoes
equal to have health have suitable mbt moja shoes slae
equal to have health have comfortable mbt moja
equal to have health have suitable mbt kimondo shoes
equal to have health have comfortable mbt kimondo shoes sale
equal to have health have suitable mbt kimondo equal to have health.

Say it...

Related Posts with Thumbnails