Download & Extend

Add special class to menu items that are separator menu items

Project:Special menu items module
Version:6.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

when I create a menu with a dashed line as a separator I still get the list style image. (See the attached screenshot.) Is it possible to add a special class to those menu items so that the list style image can be removed with css? With "special class" I mean something like

  • ----
  • instead of

  • ----
  • .
    That would be great :)

    Have a nice day, Fabian

    AttachmentSize
    menu.png1.1 KB

    Comments

    #1

    Oh, my example is not shown correctly. Since I am not able to edit it I write a new comment. I meant

    <li class="leaf no-image"><span class="seperator">----</span></li>

    instead of

    <li class="leaf"><span class="seperator">----</span></li>

    #2

    Title:add special class to menu items that are separator» Add special class to menu items that are separator menu items

    #3

    Hi,
    Sorry it took me a while to get to have a look on your issue.
    Yes, it seems like a logical request. I will be adding a specific class to the li tag of nolinks and separators.

    Expect the update soon!

    Khaled Zaidan

    #4

    Thanx Khaled :-)

    #5

    For me this update would be welcome as well.

    thanks

    #6

    I also need a special class for the li separators. not the in the span inside.

    #7

    oh sorry.. I have seen the function special_menu_itemsoverwrite_menu_item which I think does it..
    the problem is I am using nice menus module. So I guess I need to patch nice menus for that