Typical usage:

Using Special Menu Item module, you would typically:

  1. Use a <nolink> value in the module's settings at /admin/config/system/special_menu_items
  2. Declare a nolink CSS property to assign the required stylings; this way to match the styles of the nolink item with the rest of the main menu items

Common Issue:

With the above, you would normally exert and exhaust all efforts in matching the CSS attributes of the nolink to that of the main menu items.

Fix / Workaround:

Instead of trying to assign and match the nolink CSS to the main menus, we can instead simply assign a different HTML tag for the "nolink" value in the module's settings. We can instead assign simply a "<a href="#">" value. This way, instead of assigning a nolink CSS, we can simply ignore a nolink class, and instead let the default main menu CSS apply over the "unstyled" Special Menu item.

To illustrate, in your Administration » Configuration » System » Special Menu Items:

Instead of "<nolink>"

Use "<a href="#">"


Leave a Comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 4 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now