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

60 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...

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

Drive Wedge Putt said...

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

Sarah Wills said...

Thank you sooooooo much!

pandora bracelets said...

pandora jewelry have also bought out pandora bracelets that can have pandora charms put onto them.cheap pandora charms
are very interesting. pandora beads have amazing aspect. Manufacturers of pandora necklaces and pandora bead began to export particular items. Plenty of people gathering pandora bracelet beads and some also gathers pandora charm bracelets. The charm bracelet pandora also have pandora earrings and gorgeous pandora rings. Love life love pandora bracelet. cheap pandora beads give you more help. People love pandora charm best.

sap training said...

Took me awhile to read all the comments, but I really enjoyed the article. It proved to be very useful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also engaged! I'm sure you had joy writing this article.

Anita W. Shepherd said...

Such a Wonderful job on your own blog. It is quite informative and to the purpose. I'm giving it 5 stars and enjoy reading much more within the future and hope you have a fantastic day. Free Chicago Lawyers

Sam said...

Thank you!!! This really helped!

Anonymous said...

These kind of courses are very important to the society that we live in if these kind of courses were start before the situation was

much batter


Web Development

The Ginger Fox said...

Hi,

I have tried the important! code and change the colour in advance settings in the template designer and they are still blue.
Not sure what else I can do now.
Any help would be appreciated

Sapphiere said...

Hello there,

Thanks for your help. I really really need it and appreciate it :D

Anonymous said...

These kind of courses are very important to the society that we live in if these kind of courses were start before the situation was much batter



Web Design

Kathryn said...

Thank you! This was so useful and concise!

Anonymous said...

thank you sooooo much !!! Looked at so many different forums and this is the first time it actually really helped!!!!

Expert Compatible inkjet cartridge said...

What I do is pasting the Word into Notepad and from Notepad to Blogger.

Vince Bank said...

great post. fyi it doesn't need to be Word - if your links turn blue, search code for any weird, extra html. i copied and pasted in a facebook post, which i believe was the culprit for my own blue link situation.

Bloggertrix.com said...

cool tips thanks.

http://www.bloggertrix.com/

H S Consultants said...

Truly the blogging is spreading its wings rapidly.


UK Education Consultants

Marilyn Remembered said...

You saved me. Thanks very much.

Anonymous said...

To best extend, I think male enhancement is free devices to enlarge surgery reviews. The natural penis exercises work to growth larger patch pills, average sizes and to grow a bigger strecher for penis extender penis extender enlargement especially pump jelq techniques.

the fallen angel social club said...

thank you thank you ... the curse of blue links has been baffling me for ages ...

~simon

Aaron Paul Lazar said...

Thank you SO much. This has plagued me FOREVER!!!

car title loans arizona said...

I could tell how great you are in your field of interest. You could relate in each detail very well. Thank you for spending a time on sharing such informative writings to us. I will bookmark your page and looking forward to read some more of your writings soon.

tax attorney said...

Reading is my passion. Browsing through your site gives me a lot of knowledge in so many ways. Thank you for the efforts you made in writing and sharing your points of view. Looking forward to learn some more from you. Keep it up.

Floor lamps said...

Oh hey I wanted to take the time to say I really like reading your blog.

CCTVkarachi said...

Hi, I have just visited your site and the info you have covered has been of great interest to me.

CCTV Karachi

CCTVkarachi said...

I love your blog! You will be in our prayers and thoughts! Nice and informative post on this topic thanks for sharing with us.Thank you

CCTV Karachi

hosting reviews said...

I read this article. I was very impressed by its contents.))

smithhogg said...

Thanks...Very good info, I feel a lot more people need to read this.
essays help | essay writing uk | essay writers

Help Me Write My Essay said...

I know most of this stuff but its nice to have it all laid out in one place for reference.
Help Me Write My Essay|Help With Research Paper

Ryan said...

THANK YOU. SO MUCH.

Rockee said...

THANK YOU SO MUCH! You saved my life. I mean, for saving me from having to see the horrible blue color on my blog:)

Say it...

Related Posts with Thumbnails