Title: [Plugin: Menubar] superfish template- adding separators
Last modified: August 20, 2016

---

# [Plugin: Menubar] superfish template- adding separators

 *  [bluehatdesign](https://wordpress.org/support/users/bluehatdesign/)
 * (@bluehatdesign)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-menubar-superfish-template-adding-separators/)
 * 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/](http://wordpress.org/extend/plugins/menubar/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Andrea Tarantini](https://wordpress.org/support/users/dontdream/)
 * (@dontdream)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-menubar-superfish-template-adding-separators/#post-2592953)
 * 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.
 *  Thread Starter [bluehatdesign](https://wordpress.org/support/users/bluehatdesign/)
 * (@bluehatdesign)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-menubar-superfish-template-adding-separators/#post-2593057)
 * 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](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [bluehatdesign](https://wordpress.org/support/users/bluehatdesign/)
 * (@bluehatdesign)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-menubar-superfish-template-adding-separators/#post-2593058)
 * 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.

 * ![](https://ps.w.org/menubar/assets/icon-128x128.png?rev=1569441)
 * [Menubar](https://wordpress.org/plugins/menubar/)
 * [Support Threads](https://wordpress.org/support/plugin/menubar/)
 * [Active Topics](https://wordpress.org/support/plugin/menubar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/menubar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/menubar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bluehatdesign](https://wordpress.org/support/users/bluehatdesign/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-menubar-superfish-template-adding-separators/#post-2593058)
 * Status: not resolved