Additional wrapper div inside menu?!?

Home Forums Older releases 1.0.x Additional wrapper div inside menu?!?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3472
    sascha
    Participant

    I was wondering if SM still works with an additional wrapper div. Basically I need for design reasons to add a div like so:

    <ul id="main-menu" class="sm sm-blue">
      <li><a href="#">Item 1</a></li>
      <li>
        <a href="#">Item 2</a>
        <div class="submenu-wrapper">
          <ul>
            <li><a href="#">Item 2-1</a></li>
            <li><a href="#">Item 2-2</a></li>
            <li><a href="#">Item 2-3</a></li>
          </ul>
        <div>
      </li>
      <li><a href="#">Item 3</a></li>
    </ul>

    I only need to add this wrapper to aound the ul tag of the second level. Not any other levels going down (3rd/4th/etc.)
    Thank you,
    Sascha

    #3473
    sascha
    Participant

    I can also add the wrapper div after SM is initialized with JS. I was just wondering if it works at all with wrappers inside.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?