I’m using images for the menu on my site instead of text. But I didn’t use ul li, not sure why now that I think of it. Here’s the code that I’m using to show contact as circled when it’s active, and when mouseover it gets circled. When you’re on any other page it’s just the image that says ‘contact’. https://www.shane-holden.com
<div id="image-menu">
<?php if(is_page('contact')) { ?><a class="contact-active" href="/contact"><span>contact</span></a><?php } else { ?><a class="contact" href="/contact"><span>contact</span></a><?php } ?>
</div>
a.contact {
display: inline-block;
width:56px;
height: 28px;
background: url("images/menu_contact.gif") 0 0 no-repeat;
}
a.contact-active {
display: inline-block;
width: 56px;
height: 28px;
background: url("images/menu_contact.gif") 0 0 no-repeat;
background-position: 0 -28px;
border-bottom : 0px;
}
#image-menu {
display: inline;
width: 350px;
}
#image-menu a span {
position: relative;
color : #000000;
margin-top:10px;
display: block;
z-index: -1;
}
a:hover.contact {
background-position: 0 -28px;
border-bottom : 0px;
}
Sorry I’m not much more help, but I’m kind of multitasking at work and css takes me some time to get looking right.