Tuesday, April 1, 2014

SharePoint 2013 - Hide Root Node Link in Global Navigation using CSS

To hide the root node in the global navigation, simply add this style in your content editor or in your main style sheet and its ready to go!
Style Code


.ms-core-listMenu-horizontalBox LI.static > A {
    DISPLAY: none !important
}
.ms-core-listMenu-horizontalBox LI.static > UL A {
    DISPLAY: block !important
}

Before

After 



Happy Browsing!
Relax..

No comments:

Post a Comment