In SharePoint 2010 when you create a new Top Link Bar entry the Home tab will not highlight anymore


After adding page links to the Top Link Bar of team sites tab, the Home tab (the first one) was not getting highlighted anymore when selected. All other page links added to the Top Link Bar were being highlighted as expected. Some people came out with the idea of disabling the Wiki Feature to make Home highlights again. Even though it seems to bring the highlight back to the Home tab, it was disabling a very useful web feature. This is not a very efficient workaround in my humble opinion.

Since I had to work in this issue I was able to put together a workaround that resolves the problem without much effort. First, I will explain how to reproduce the problem, then I will show my solution. I am really curious to know how many people are experiencing the problem, so if it helped you, please add your comment.

These are the steps to reproduce the problem

 

1. Create a new site collection using the Team Site template

2. After created, navigate to the site and verify that at this moment there is only a tab in the top link bar (Home) and it is highlighted as expected.

clip_image002

3. In Site Actions, choose New Page
clip_image004

4. Enter the new page name and click on Create
clip_image006

5. After the page is created, copy the full Url of the new page to your clipboard as you will need this URL to create the link later

6. In Site Actions, choose Site Settings and click on “Top link bar” under Look and Feel
clip_image008

7. On the Top Link Bar page, click on “New Navigation Link”

8. Enter the URL of the new page you have created in item 3 and 4 and also a name for the link then click ok
clip_image010

9. Click on the newly created tab in the Top Link Bar and you will move to the page and the tab will be highlighted
clip_image012

10. When you click on the tab Home in the Top Link Bar you will go to the page, but it will not be highlighted
clip_image014

 

Enough of talking about problems. Let’s go to the solution.

 

Steps to resolve the issue

 

1. On Site Actions choose Site settings and click on Top link bar.
clip_image008[1]

2. You should see all the tabs in the Top Link Bar

3. Click on the Edit icon for the tab Home
clip_image016

4. Make sure you are indeed in the item for Home and click on Delete (confirm the operation when the popup shows up)

clip_image018

5. You will be back to the Top Link Bar page and Home will not be available anymore

6. Click on the link “New Navigation Link” to add the Home tab again with full URL

7. Enter the full url of the home page in the Web Address field and “Home” (without quotes) in the Description field
clip_image020

8.  You will be back to the Top Link Navigation Bar and Home will be the last entry
clip_image022

9. Click on the Link Change Order

10. Make sure you change the Link Order of Home to be 1. It will move Home to the first position and reorder the rest. Click OK when done
clip_image024

11. After clicking Ok check to see if Home is indeed in the first position in the Top Link Bar page

12. Click on the Home tab in Top Link Bar and you will be taken to the Home page

13. Home is now highlighted when selected (as expected)
clip_image026

 

You only have to do this once for each site collection facing the problem.


Comments (47)

  1. Sean G. says:

    That was it for me.  Thanks a lot!

  2. Héðinn says:

    Correct me if I'm wrong, but I think its also sufficient to just change the path for the home tab to the correct full path and select ok, don't have to delete it and create it again.

  3. Rodney Viana says:

    Hi Héðinn,

    The problem is that you cannot edit the original home url (it is disabled). If you could it would be a valid approach.

  4. Alan says:

    Works for me, thanks.  How can we submit this as a bug to Microsoft?

  5. Rodney Viana says:

    Hi Alan,

    If you are either a partner or premier customer you can open a case and request the code change. The case will remain opened until you receive the response from the product team and if it is considered as a bug you will not be charged. If you are neither you can open a paid pro case (flat fee) and keep the case until the product team responds (you will be reimbursed if considered bug). You can also inform the issue in one of the SharePoint forums and one of our forum Engineers will request the code change, but this request will not be tracked and has lower priority in the QFE process.

  6. Kate Slott says:

    I am also having this problem.  One question before I proceed with this . . . I have a lot of information on my home page and don't want to risk losing it when deleting.  Are we just deleting the nav entry and readding it back in?  if that's the case I'm not worried but want to make sure that's all this does.

    Thanks.

  7. Rodney Viana says:

    Hi Kate,

    This operation will not delete your page. It will delete a bad navigation link and create a healthy one.

  8. Oscar Blanco says:

    Great Rodney,

    Works fine. Thanks for share your solution.

  9. Kate says:

    Worked Perfectly.  Thanks.  Now I know the trick.

  10. Steve says:

    Not sure if this is best practice or not.  I created my next tab as a New Site.  Which was created as a blank site. When going into Look and Feel of the site I do not see a Top Link bar.  I must go back to Home and add that Site as a new tab under Global Navigation.   If creating the new site as a Team site I then do get the Top Link Bar navigation.  

    I know this has nothing to do with the original problem, but why isn't this consistant between site creation?

  11. Ivan Shadrin says:

    Thanks a lot.

  12. loupoo says:

    Hi,

    how to add a child item to home

  13. Falcon IT Services says:

    Excellent post. Thanks.

  14. Ugh. says:

    Are you kidding me Bill (Gates)?  Come on that is so annoying.  Thanks Rodney, you post helped me from thinking I was crazy and it was just me.

  15. Suhasini says:

    It Really saved my time of digging out CSS. Thanks  a lot Dude !

  16. Steven N. says:

    This was the solution for me:  support.microsoft.com/…/925974  

    I had to change the URLs from /site/default.aspx to /site  for all of my top link headings.  After that things worked peachy. Very confusing though – would be great to have a context sensitive help tip for this in the Navigation settings screen.

  17. Rodney Viana says:

    Hi Steven,

    The KB you mentioned is for a previous version of SharePoint and is a overkill to the issue presented here which requires a simpler solution. Glad your problem is resolved though.

  18. svesam says:

    Thanx, it did what i was looking for

  19. Arnab says:

    Hi,

    In my SP website – Site Settings – “Top link bar” is not coming. Can you please help?

    Thanks

  20. Rodney Viana says:

    Hi Arnab,

    Behavior differs from site template to site template. The subject of this post is related to Team Sites when Wiki feature is enabled. If this is your case, you should see the option unless you do not have the appropriate rights. If this is not your scenario you can still ask our assistance in the Microsoft forums for SharePoint:

    social.msdn.microsoft.com/…/sharepoint

  21. Godi says:

    Thanks a lot. Works for me too!

  22. Terry Wyatt says:

    Had the exact problem you discribed – Your solution fixed it exactly as you discribed 🙂 Thank you

  23. Asish says:

    Same problem. Solution works great. Thank you.

  24. systemX says:

    I'm wondering .. has this been fixed in SharePoint 2013?

  25. Rajesh Patil says:

    Thanks Rodney,It  worked..!!!

  26. Jason says:

    Thank you very much for saving my life.

    You are a good teacher.

  27. Maria says:

    thanks!!! that solved my problem!

  28. Janjang says:

    Super…works great for me. Many thanks

  29. Kate B says:

    Thanks.  Worked like a charm…

  30. Sasha Z says:

    Thank you very much for posting the solution to this small, but rather annoying bug

  31. Vijay says:

    Thank u very much it is very helpfull..

  32. Nitin singh says:

    its working thanks 🙂

  33. barb says:

    Love it thanks so much?

  34. Ali says:

    Thank you! Works like a charm

  35. Adeel Nayyer says:

    Thanks man. Worked for me 🙂

  36. Gary says:

    Thanks, this worked great.  I had to delete the Home link and create my own.  This worked since we have a few sub-sites.

  37. EK says:

    I worked! Thanks.

  38. EK says:

    It worked! Thanks.

  39. Tim says:

    Thank you! very helpful

  40. DP says:

    I Had the exact problem you described – Your solution fixed it. Thank you!!!!

  41. Suze says:

    Thanks for this- you saved me a lot of time and frustration! Appreciated.

  42. Chinkey Ahuja says:

    Thanks, Your solution fixed it.

  43. Greg says:

    Thanks so much!

  44. Nate Balcom says:

    Ditto. Worked for me thanks.

  45. Tim Odell says:

    worked for me to.  Thanks.  

  46. Samala says:

    thank you very much it's help full I think

  47. Blisteragent says:

    Right on the nose. Thanks a bunch!