Hi All,
I got a requirement that the title of the site collection which shows the first button on the top link bar to be different from the title. for example: my sharepoint site title is " Srikanth SharePoint Blog" and I need to show"Home" on the top link bar. It shows Home when the publishing features are not enabled. But once the publishing features are enabled it shows the same as the title("srikanth sharepoint blog" in my case instead of "Home").In other blogs I saw the solution as "in SITE ACTIONS>SITE SETTINGS>LOOK AND FEEL> TOP LINK BAR" , but once the publishing features are enabled, you don't see the "TOP LINK BAR" under "LOOK AND FEEL"(ofcourse it is changed to "NAVIGATION" , when publishing features are enabled).
In this case :
1. Hide the initial button by adding code in css.
.s4-tn li.static > a{
display: none !important;
}
.s4-tn li.static > ul a{
display: block !important;
}
2. go to SITE ACTIONS>SITE SETTINGS>LOOK AND FEEL>NAVIGATION>NAVIGATION EDITING AND SORTING>UNDER GLOBAL NAVIGATION> (ADD A LINK) GIVE THE TITLE AS "HOME" AND GIVE THE LINK AS" YOUR HOME LINK"(IN MY CASE "HTTP://WWW.SRIKANTHSHAREPOINT.BLOGSPOT.COM") . CLICK "OK".
3. Now you see only HOME on the top link bar and TITLE will be the same as original Title.
Walla re Walla!!!!!!!!!
I got a requirement that the title of the site collection which shows the first button on the top link bar to be different from the title. for example: my sharepoint site title is " Srikanth SharePoint Blog" and I need to show"Home" on the top link bar. It shows Home when the publishing features are not enabled. But once the publishing features are enabled it shows the same as the title("srikanth sharepoint blog" in my case instead of "Home").In other blogs I saw the solution as "in SITE ACTIONS>SITE SETTINGS>LOOK AND FEEL> TOP LINK BAR" , but once the publishing features are enabled, you don't see the "TOP LINK BAR" under "LOOK AND FEEL"(ofcourse it is changed to "NAVIGATION" , when publishing features are enabled).
In this case :
1. Hide the initial button by adding code in css.
.s4-tn li.static > a{
display: none !important;
}
.s4-tn li.static > ul a{
display: block !important;
}
2. go to SITE ACTIONS>SITE SETTINGS>LOOK AND FEEL>NAVIGATION>NAVIGATION EDITING AND SORTING>UNDER GLOBAL NAVIGATION> (ADD A LINK) GIVE THE TITLE AS "HOME" AND GIVE THE LINK AS" YOUR HOME LINK"(IN MY CASE "HTTP://WWW.SRIKANTHSHAREPOINT.BLOGSPOT.COM") . CLICK "OK".
3. Now you see only HOME on the top link bar and TITLE will be the same as original Title.
Walla re Walla!!!!!!!!!
awesome solution weldone - works like a magin
ReplyDeleteThis is exactly what I need to do. But I have never added custom code to my SP.
ReplyDeleteCan you help me in adding this code?
Open your site in sharepoint designer and open your css file and add this code at the bottom and publish both master page and css file and it will work for you.
Deletegud topic
ReplyDeleteExcellent solution. Exactly what I wanted.
ReplyDeleteThanks very much!!
Thank you!!!!
ReplyDelete