portal:SiteMenu

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
11/1/2011 6:19:02 AM
Gravatar
Total Posts 2

portal:SiteMenu

Sorry for my english, I'm from Russia.

I have a question about portal:SiteMenu object in layout.master file.

after rendering:

<div class="AspNet-Menu-Horizontal">

  <ul class="AspNet-Menu">
   <li class="AspNet-Menu-Leaf">
    <a href="/medtehnika" class="AspNet-Menu">
     <span>Медтехника</span></a>

   </li>
   <li class="AspNet-Menu-Leaf">
    <a href="/instrumenti" class="AspNet-Menu">
     <span>Инструменты</span></a>
   </li>
   <li class="AspNet-Menu-Leaf">


  </ul>

</div>

 

And I need to

<li class="AspNet-Menu-Leaf medtehnika_item">

    <a href="/medtehnika" class="AspNet-Menu">

     <span>О проекте</span></a>

   </li>

   <li class="AspNet-Menu-Leaf instrumenti_item">

    <a href="/instrumenti" class="AspNet-Menu">

     <span>Каталог</span></a>

   </li>

 

Please tell me what should I do

Thanks a lot for your help :)

 

11/6/2011 11:43:13 PM
Gravatar
Total Posts 355

Re: portal:SiteMenu

Do you want to apply a custom class for the level, or for specific items on the menu?

11/7/2011 8:24:29 AM
Gravatar
Total Posts 2

Re: portal:SiteMenu

IndigoTea, I want to apply a custom class for specific items on the menu.

 

11/7/2011 12:39:04 PM
Gravatar
Total Posts 355

Re: portal:SiteMenu

The same techniques I used in this article can be applied to what you're attempting to accomplish:

http://blog.arvixe.com/mojoportal-tips-making-a-multi-colored-dynamic-menu-with-css/

You must sign in to post in the forums. This thread is closed to new posts.