Support » Plugin: Menubar » [Plugin: Menubar] superfish template- adding separators

  • bluehatdesign

    (@bluehatdesign)


    I’m using the Superfish tempate and I’d like to include a separator between top-level menu items, but not after the last item. I’m wondering how I can edit the output to include a first and/or last class to the li tags. Any help would be appreciated!

    Thanks,
    Jack

    http://wordpress.org/extend/plugins/menubar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Jack,

    It’s not possible to do that automatically, but you can manually add a class to a menu item, using the ‘CSS Class’ field in the plugin admin page.

    bluehatdesign

    (@bluehatdesign)

    Thanks for responding Andrea. Would you be able to shed a little more light on exactly how I would go about adding a specific class to the last item in the list? As it is, the code is generating class=””. Unfortunately, I know just enough PHP to get myself in trouble. 🙂

    Here’s the plugin code:

    [260 lines of code moderated as per the Forum Rules. Please use the pastebin]

    bluehatdesign

    (@bluehatdesign)

    OK, nevermind, I figured it out. As usual, I was over-thinking. Adding a class manually through the Menubar interface works a treat. Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Menubar] superfish template- adding separators’ is closed to new replies.