I am currently using a unique font to create icons for my navigation elements in the website example below:
The issue I am facing is that when a link is hovered over, both the link and the icon underneath display an underline.
I would like to find a solution to remove the underline only from the icon while keeping it on the link itself.
Below is the code snippet I am working with:
HTML
<ul class="hidden-phone">
<li><a class="entypo-home" href="#">Home</a></li>
<li><a class="entypo-briefcase" href="#">Services</a></li>
<li><a class="entypo-picture" href="#">Portfolio</a></li>
<li><a class="entypo-address" href="#">Contact</a></li>
</ul>
CSS
#nav ul li a {color:#ccc; margin-left: 25px;}
#nav [class*='entypo-'].active:before {color:#666;}
#nav [class*='entypo-']:before {font-size: 46px; position: relative; top: 5px;left: -3px; color:#999;}
[class*='entypo-']:hover:before {text-decoration:none !important;}
Your help is greatly appreciated!