TwitterLinkedInBlog

Monday, January 30, 2012

How to fix the 'Home' link on the Top Link Bar

Problem:
On my SharePoint Foundation site, it was bugging me that the Top Link Bar included a 'Home' link, but it wasn't highlighted when I was on the home page. To make matters worse, after I added an 'About' page, the 'About' link on the Top Link Bar was always highlighted.

Fix:
Delete the default 'Home' link and create a new one with a more specific relative URL. The default 'Home' link points to '/'. We want it to point to '/SitePages/Home.aspx'. Once the old link is deleted and the new link is created, the 'Home' link is highlighted while on the home page and the 'About' link is highlighted while on the about page. Success!

No comments: