Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] NAV Menu help with CSS selector on list when hover – SOLVED Reply To: [Solved] NAV Menu help with CSS selector on list when hover – SOLVED

#202909
Paulie_D
Member

However you could use the direct descendant selector to only apply that image to top level links…is that what you meant?

.nav > ul > li:hover>  a
{
  background-image: url("http://i58.tinypic.com/140djyw.jpg");
  background-size: 100% 40px;
  background-repeat: no-repeat;
  background-position: center center; 
}

http://codepen.io/Paulie-D/pen/oXYQgQ