• Resolved thehammer610

    (@thehammer610)


    I want to create a series of menu options without any links. Right now, I can only seem to create a menu item of an existing page, then hide the link.
    That works, but when I hover, I have the color change and do not want that either since it will appear to be clickable.

    I just want a title, that when the user hovers over it, a box appears with subtitles (no link and no hovers), then below the subtitles are titles that are clickable links where the hover color appears.

    I saw on the MegaMenu that I can disable the link. But I still get a hover color change.

    It would be nice to include a menu item that does not relate to a page. I am creating pages that I don’t really need just for this purpose, which will distract readers and clutter the site navigation.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi,

    Is it the ‘search by machine’ item you’re referring to? It retains the hover styling intentionally as the item still performs an action (opens the sub menu). To override that styling, you could use the Custom Item Styling functionality in Pro, that would let you set the hover colour to grey.

    Regards,
    Tom

    Thread Starter thehammer610

    (@thehammer610)

    Thank you, Tom for your reply.

    In my current menu modification, I have done away with slide-out menus, going to a grid layout (at least on the browser computer version it appears that way). The top item on the menu does reveal the grid layout.

    However, within that grid, I have created sub-categories. Those do not have a link. It is the items below that are linked.

    In this case, the hover does nothing other than become highlighted. The sub-menus are already visible below. I am afraid that people will think that the subcategory title is supposed to be an active link.

    I am looking for the top line to be nothing more than a passive category title. So far, the only thing I have been able to do is to remove the link to a page, then rename it to be what I want for the title. But I am afraid that the ‘hover turns it green’ will lead people to think that category link is broken.

    Luckily, the ‘glove’ only appears on the clickable links. But the hover color still changes on titles where the link has been removed.

    Thank you.

    Plugin Author megamenu

    (@megamenu)

    Ah, I see it in the sub menu now. Thanks. Please go to Mega Menu > Menu Themes > Custom Styling and add the following:

    #{$wrap} #{$menu} li.mega-menu-megamenu li.mega-disable-link > a.mega-menu-link {
        pointer-events: none;
    }

    Regards,
    Tom

    Thread Starter thehammer610

    (@thehammer610)

    That worked great!

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Create Menu Title – no link & no action’ is closed to new replies.