remove site collection link from top link bar
-
10-12-2019 - |
Question
I've just created a site collection, and then subsequently activated the publishing site collection feature on it, so that I can have the fancy Navigation options. However I've noticed (i dont know how i never noticed this before) that a link to the root web of the site collection appears in the top link bar, but doesn't appear in the Navigation page. Is there a way to remove this link or am I stuck with it?
Solution
I used the following CSS code to hide it:
.ms-breadcrumb-top ul.ms-core-listMenu-root>li.static>a.static.menu-item{
display:none;
}
You can add the above to the alternate CSS file for the site collection.
Hope this can help.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange