I have a navigation menu that I'd like to hide the first item in it. e.g.
<ul>
<li>Home</li>
<li>About</li>
<li>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</li>
</ul>
I then hide the first element like this in CSS:
li:first-child{
visibility: hidden;
}
But then what happens is that all the first li items in the navigation disspears, like 'Item 1' in the navigation menu. How would I select only the 'home' li item and hide it?