I am facing an issue with my list menu.
The hover effect changes the background color only in the box area, but not in the text area.
I would like to figure out a way to make both areas change color on hover:
Here is the code snippet:
<div class="services">
<ul>
<li class="general"><a href="" title="" >General</a></li>
<li><a href="" title="" >Marketing and Brand Strategy</a></li>
<li><a href="" title="" >Events and Launches at Exhibitions</a></li>
<li><a href="" title="" >PR / Press releases,</a></li>
<li><a href="" title="" >Distribution and sales</a></li>
<li><a href="" title="" >Media and social media</a></li?
</ul>
</div>
CSS styling:
.services ul { display: block; padding: 0; margin: 0; }
.services ul li{ list-style-type: none; background: #ffffff; line-height: 47px; border-top: 1px solid white; font-size: 12pt; width:350px }
.services ul li:hover{ list-style-type: none; background: #efefef; line-height: 47px; border-top: 1px solid white; font-size: 12pt; }
.services ul ul:hover >a{ list-style-type: none; background: #efefef; line-height: 47px; border-top: 1px solid white; font-size: 12pt; }
.services ul li a{ width:100%; color: black; padding: 0 12px; font-family: 'Lora', serif; font-size: 12pt; text-decoration: none;background-color:#ffffff }
.services ul li a:hover{ width:100%; color: black; padding: 0 12px; font-family: 'Lora', serif; font-size: 12pt; text-decoration: none;background-color:#efefef; }
View the example on jsfiddle: http://jsfiddle.net/r8rns8gw/1/