+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / Customizing the SiteMenu

Customizing the SiteMenu

2 posts, 0 answered
  1. Devin
    Devin avatar
    149 posts
    Registered:
    09 Jun 2009
    27 Aug 2009
    Link to this post
    Hi I have a site design with a main nav menu that looks like this:

    <div id="mainnav"
    <ul>  
    <li><a id="nav1" href="#"</a></li>  
    <li><a id="nav2" href="#"</a></li>  
    <li><a id="nav3" href="#"</a></li>  
    <li><a id="nav4" href="#"</a></li>  
    <li><a class="active" id="nav5" href="#"</a></li
    </ul> 
    </div> 

    Each of these items has a CSS background image, rollover and active state.  This top level navigation will not change but sub pages can be created / deleted.  I'd like to use the SiteMenu to take advantage of the built in drop down menus for subnavigation.  Is there a way to do this?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    31 Aug 2009
    Link to this post
    Hi Devin,

    In SiteMenu( RadMenu) control you can use SelectedItemCssClass which applies to the selected item. On each item you can add image. For all expanded items you can apply ExpandedCssClass. For hovered items you should apply .SomeClass: hover.

    For more detailed information you can take a look at Controlling Appearance, Controling appearance of RadControls for ASP.NET AJAX in Sitefinity

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered