Quantcast
Channel: Question and Answer » top-link-bar
Viewing all articles
Browse latest Browse all 10

Hide first navigation node in top navigation in SharePoint 2013

$
0
0

This is my first work with custom branding in 2013. I am attempting to hide the first node in the top navigation (not using Metadata navigation) using css, trying not to resort to jquery.

So my navigation might be Intranet | Departments | Services. I want to hide Intranet.

I am having trouble targeting the specific link for the first node.

<ul class="root ms-core-listMenu-root static">
   <li class="static">
     <a class="static menu-item ms-core-listMenu-item ms0displayInline ms-navedit-linkNode">'I want to remove this link'
     <ul>
       <li>
       <li>

I have tried to use various adjacent selectors and first:child but have had no luck with any of these. Most of the time I end up hiding the entire ul.

Has anyone successfully hidden this.


Viewing all articles
Browse latest Browse all 10

Trending Articles