Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to branding Top navigation bar with our custom CSS. in Top navigation bar html look like this :

 <div class="menu horizontal menu-horizontal">
   <ul class="root static">
    <li class="static selected"><a href="#"><span>Home</span></a>
        <ul class="static">
            <li class="static">
              <a href="#"><span>SubSite1</span></a>
            </li>   
        </ul>
     </li>
  </ul>
</div>

but I want to look like this :

  <div class="menu horizontal menu-horizontal">
   <ul class="root static">
    <li class="static selected">
            <a href="#"><span>Home</span></a>
     </li>
    <li class="static">
       <a href="#"><span>SubSite1</span></a>
   </li>    
  </ul>
</div>

currently i have accomplished below output using jquery.

I want to know that is that any direct property available in SharePoint:AspMenu? so I would like to display below output using property.

share|improve this question

1 Answer 1

If I'm following, the only difference is that you have the two nodes as siblings (same level) versus parent/child. You can do that through configuration without the need to customize the code or properties.

To configure the nav:

  1. From the site, click Site Actions, select Site Settings
  2. Under the Look and Feel group, click the Navigation link
  3. Under the Navigation Editing and Sorting area, configure the navigation.

You can organize the nodes as desired, and add additional top level headings as desired.

share|improve this answer
    
but how can i do through configuration?can you please elaborate more? –  Jigs Apr 16 '13 at 14:00
    
Agree with Mike. Also you should have enough permission to do so. –  AmitKB Apr 16 '13 at 14:29
    
I have trying as par your describing.i can sort ordering,hide and show node of navigation.but there is no effect on rendering HTML. –  Jigs Apr 17 '13 at 4:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.