Enable the SharePoint Server Publishing change the order of the links of my navigation bar
-
29-09-2020 - |
문제
I enabled the SharePoint Server Publishing feature and now it change my navigation bar, putting the selected site in the first order, but I don't want my navigation bar changes the order of the links. I can't edit the order because it does not appear when i click in the EDIT LINKS.
How can I fix that?
해결책
A solution would be :
- add a script editor web part to your page
- copy the following code into the script editor
SharePoint 2013 code
.ms-core-listMenu-horizontalBox li.static > a{
display: none !important;
}
.ms-core-listMenu-horizontalBox li.static > ul a{
display: block !important;
}
SharePoint 2010 code
.s4-tn li.static > a{
display: none !important;
}
.s4-tn li.static > ul a{
display: block !important;
}
- In Site Settings -- Navigation create a new link to the site
Hope this helps!
다른 팁
You can go to site setting and navigation setting. In this page you have the option to rearrange links are per your requirements.
제휴하지 않습니다 sharepoint.stackexchange