Hello Ian,
FroggEye's suggestion is also correct but here is another approach.
You can create a hover effect using CSS for the CSS List Menu web part.
If you have the following for zone definition:
<div class="zonemenu">
<cms:CMSWebPartZone ID="zonemenu" runat="server" />
</div>
And you check the following CSS List Menu property:
Render CSS classesYou can then use the following sample for CSS:
/*#zonemenu sample#*/
.zonemenu .CMSListMenuUL
{
list-style: none;
margin: 0px;
padding: 0px;
position: relative;
}
.zonemenu .CMSListMenuUL li
{
/*float: left;
padding: 0px 22px 0px 0px;*/
}
.zonemenu .CMSListMenuUL li a
{
/*color: #fff;*/
text-decoration: none;
display: block;
height: 23px;
font-size: 16px;
line-height: 23px;
padding: 0px 8px;
border: 1px solid transparent;
font-family: Arial;
}
.zonemenu .CMSListMenuUL .CMSListMenuHighlightedLIfirst a,
.zonemenu .CMSListMenuUL .CMSListMenuLIfirst a
{
/*padding-left: 0px;*/
}
.zonemenu .CMSListMenuHighlightedLI a,
.zonemenu .CMSListMenuHighlightedLIfirst a
{
/*color: #8cd2f8 !important;
text-decoration: none;*/
}
.zonemenu .CMSListMenuUL li:hover a
{
/*background-color: #4a83bc;
border: 1px solid #5f96d4;
border-bottom: 1px solid #4a83bc;
color: #fff !important;*/
}
.zonemenu .CMSListMenuUL li .CMSListMenuUL
{
display: none;
}
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL
{
display: block;
/*position: absolute;
height: auto;
min-width: 130px;
overflow: visible;
background-color: #4a83bc;
border: 1px solid #5f96d4;
border-top: none;
padding-top: 8px;*/
}
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL li
{
/*float: none;
padding-right: 8px;*/
}
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL .CMSListMenuLIfirst,
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL .CMSListMenuHighlightedLIfirst
{
/*padding-left: 8px;*/
}
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL a
{
/*border: none;
font-size: 13px;
color: #fff !important;*/
}
.zonemenu .CMSListMenuUL li:hover .CMSListMenuUL a:hover
{
/*color: #8cd2f8 !important;*/
}
Best regards,
Filip Ligac